e_plane: ignore current plane when checking can_surface_set 03/145503/2 accepted/tizen/unified/20170828.163910 submit/tizen/20170825.070217
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 21 Aug 2017 05:13:05 +0000 (14:13 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 25 Aug 2017 06:56:40 +0000 (06:56 +0000)
Change-Id: Ib500c1d57931f4f3711512d9374504209f8ea060
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
src/bin/e_plane.c

index d6e542b..97ceed6 100644 (file)
@@ -125,6 +125,8 @@ _e_plane_surface_can_set(E_Plane *plane, tbm_surface_h tsurface)
 
    EINA_LIST_FOREACH(output->planes, l, tmp_plane)
      {
+        if (plane == tmp_plane) continue;
+
         if (tmp_plane->tsurface == tsurface)
           {
              if (plane_trace_debug)