forked from enlightenment/efl
wayland_shm: clear busy bit for buffers during dmabuf fallback
If we pre-rendered then we have a busy buffer - we need to clear that busy bit after reading from the buffer or buffer_destroy won't clean it up.
This commit is contained in:
parent
b897d86943
commit
9b048df6ff
|
@ -380,6 +380,9 @@ _fallback(Dmabuf_Surface *s, int w, int h)
|
|||
if (!b) goto out;
|
||||
|
||||
if (!b->mapping) b->mapping = buffer_manager->map(b);
|
||||
|
||||
b->busy = EINA_FALSE;
|
||||
|
||||
if (!b->mapping) goto out;
|
||||
|
||||
epd = efl_data_scope_get(surf->info->evas, EVAS_CANVAS_CLASS);
|
||||
|
|
Loading…
Reference in New Issue