gl_drm: remove frame_count

It was a write only variable, kill it.
This commit is contained in:
Derek Foreman 2016-01-22 14:20:35 -06:00 committed by Mike Blumenkrantz
parent 937ca952ed
commit 4bdc9d4d07
2 changed files with 1 additions and 3 deletions

View File

@ -97,7 +97,7 @@ struct _Outbuf
struct
{
int prev_age, frame_cnt;
int prev_age;
int curr, last, num;
struct gbm_bo *bo[4];
Eina_List *pending_writes;

View File

@ -806,8 +806,6 @@ evas_outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects, Evas_Render_Mode render_mode)
//Flush GL Surface data to Framebuffer
_evas_outbuf_buffer_swap(ob, NULL, 0);
ob->priv.frame_cnt++;
end:
//TODO: Need render unlock after drm page flip?
glsym_evas_gl_preload_render_unlock(_evas_outbuf_make_current, ob);