summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_surface.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-01-25 16:11:01 -0600
committerDerek Foreman <derekf@osg.samsung.com>2018-01-26 15:53:59 -0600
commit7d81a16cdbb9a19748fad95cac54ac6022e607f0 (patch)
treecfdf11bd00352b31c2d9837cfb1e8f3908ae5d35 /src/lib/ecore_wl2/ecore_wl2_surface.c
parentdce3fcda866439750eaa9c82f05c2bfb059d14dc (diff)
ecore_wl2: Add buffer age inc and use it in surface code
Technically not necessary, since we could do this with get and set, but it's a little more convenient to the user this way.
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_surface.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_surface.c b/src/lib/ecore_wl2/ecore_wl2_surface.c
index acfcf896c3..ae4e8099ae 100644
--- a/src/lib/ecore_wl2/ecore_wl2_surface.c
+++ b/src/lib/ecore_wl2/ecore_wl2_surface.c
@@ -132,7 +132,7 @@ _evas_dmabuf_surface_assign(Ecore_Wl2_Surface *s)
132 return 0; 132 return 0;
133 } 133 }
134 EINA_LIST_FOREACH(s->buffers, l, b) 134 EINA_LIST_FOREACH(s->buffers, l, b)
135 b->age++; 135 ecore_wl2_buffer_age_inc(b);
136 136
137 return ecore_wl2_buffer_age_get(s->current); 137 return ecore_wl2_buffer_age_get(s->current);
138} 138}