evas_tbmbuf: hotfix to update full area when start time 83/87483/1
authorJi-Youn Park <jy0703.park@samsung.com>
Thu, 8 Sep 2016 08:06:34 +0000 (16:36 +0830)
committerJi-Youn Park <jy0703.park@samsung.com>
Thu, 8 Sep 2016 08:06:34 +0000 (16:36 +0830)
Change-Id: Ie1bdfa25291804569a4785bb7b456c32bb089ac9

src/modules/evas/engines/wayland_shm/evas_tbmbuf.c

index 828797f..2ba1a48 100755 (executable)
@@ -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;
 }