Get rid of the needs_render tracking as it was too fragile.

This commit is contained in:
Kovid Goyal
2017-11-15 22:31:55 +05:30
parent ab604fb149
commit 2b988b01c6
4 changed files with 23 additions and 53 deletions

View File

@@ -56,9 +56,7 @@ typedef struct {
size_t read_buf_sz, write_buf_sz, write_buf_used;
pthread_mutex_t read_buf_lock, write_buf_lock;
CursorRenderInfo last_cursor_render_info, current_cursor_render_info;
bool colors_inverted_at_last_render;
float last_render_x_start, last_render_y_start;
CursorRenderInfo cursor_render_info;
} Screen;