e_comp: can be executed e_comp_hwc_multi_plane_set only conf->hwc_use_multi_plane... 09/152209/2
authorJunkyeong Kim <jk0430.kim@samsung.com>
Mon, 25 Sep 2017 08:54:21 +0000 (17:54 +0900)
committerBoram Park <boram1288.park@samsung.com>
Tue, 26 Sep 2017 07:19:42 +0000 (07:19 +0000)
Change-Id: I702b62c46d6418ab9c0a92532e3b4c838147144e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/bin/e_comp.c

index 3d13424..b688d65 100644 (file)
@@ -919,6 +919,8 @@ e_comp_hwc_end(const char *location)
 EINTERN void
 e_comp_hwc_multi_plane_set(Eina_Bool set)
 {
+   if (!conf->hwc_use_multi_plane) return;
+
    if (e_comp->hwc_use_multi_plane == set) return;
 
    e_comp_hwc_end(__FUNCTION__);