forked from enlightenment/efl
evas-wayland-shm: Fix max buffer age
Highest possible buffer age should actually be 4, not the number of available buffers. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
2ceb37e14d
commit
d8600a4f25
|
@ -506,7 +506,7 @@ _evas_shm_surface_assign(Surface *s)
|
|||
if (surface->leaf[i].valid && surface->leaf[i].drawn)
|
||||
{
|
||||
surface->leaf[i].age++;
|
||||
if (surface->leaf[i].age > surface->num_buff)
|
||||
if (surface->leaf[i].age > 4)
|
||||
{
|
||||
surface->leaf[i].age = 0;
|
||||
surface->leaf[i].drawn = EINA_FALSE;
|
||||
|
|
Loading…
Reference in New Issue