e_output: skip plane_fetch for unset if fb_target doesn't commit 63/131563/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 30 May 2017 04:27:03 +0000 (13:27 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Tue, 30 May 2017 04:30:32 +0000 (13:30 +0900)
Change-Id: Id3717038a9f22ffe1f9bcd9faa874e5fe3996295

src/bin/e_output.c

index e7c80243f41c3267da005e2dd0b06b5621e63e97..735be0eacfbbea8828c02a1cdd60a8817003812b 100644 (file)
@@ -843,12 +843,10 @@ e_output_commit(E_Output *output)
      {
         if (plane->need_unset && plane->sync_unset_count)
           {
-             if (fb_commit)
-               {
-                  plane->sync_unset_count--;
-                  if (plane->sync_unset_count)
-                    continue;
-               }
+             if (!fb_commit) continue;
+
+             plane->sync_unset_count--;
+             if (plane->sync_unset_count) continue;
           }
 
         if (!e_plane_fetch(plane)) continue;