wayland_egl: Remove weirdo buffer age kludge cargo culted from gl_x11

There's no reason why we'd need a full redraw if the buffer age for
this buffer isn't the same as the buffer age for the last buffer, so
let's cut out this thing.
This commit is contained in:
Derek Foreman 2016-10-19 16:04:02 -05:00
parent a44352a10f
commit 6a65253f68
2 changed files with 1 additions and 4 deletions

View File

@ -66,7 +66,7 @@ struct _Outbuf
Evas_Engine_GL_Context *gl_context;
Render_Engine_Swap_Mode swap_mode;
int prev_age, vsync;
int vsync;
int frame_cnt;
struct

View File

@ -382,9 +382,6 @@ eng_outbuf_swap_mode_get(Outbuf *ob)
else if (age == 4) swap_mode = MODE_QUADRUPLE;
else swap_mode = MODE_FULL;
if ((int)age != ob->prev_age) swap_mode = MODE_FULL;
ob->prev_age = age;
return swap_mode;
}