From 1a1ad620371439d8a3d7b9359c63aaaeb14a2cce Mon Sep 17 00:00:00 2001 From: Ji-Youn Park Date: Thu, 8 Sep 2016 16:36:34 +0830 Subject: [PATCH] evas_tbmbuf: hotfix to update full area when start time Change-Id: Ie1bdfa25291804569a4785bb7b456c32bb089ac9 --- src/modules/evas/engines/wayland_shm/evas_tbmbuf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/evas/engines/wayland_shm/evas_tbmbuf.c b/src/modules/evas/engines/wayland_shm/evas_tbmbuf.c index 828797f..2ba1a48 100755 --- a/src/modules/evas/engines/wayland_shm/evas_tbmbuf.c +++ b/src/modules/evas/engines/wayland_shm/evas_tbmbuf.c @@ -370,6 +370,8 @@ _evas_tbmbuf_surface_assign(Surface *s) int num_surface; tbm_surface_h surfaces[5]; sym_tbm_surface_queue_get_surfaces(surface->tbm_queue, surfaces, &num_surface); + if (num_surface == 1) return 0; + return num_surface; } -- 2.7.4