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:
Derek Foreman 2016-12-06 16:21:49 -06:00
parent b897d86943
commit 9b048df6ff
1 changed files with 3 additions and 0 deletions

View File

@ -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);