e_comp: block the hwc_init when gl is not enabled. 95/66795/2
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 21 Apr 2016 05:52:49 +0000 (14:52 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 21 Apr 2016 06:07:23 +0000 (23:07 -0700)
Change-Id: If78d0be038e54709a270af656c1b166045bb4256

src/bin/e_comp.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 84d5efc..4e60898
@@ -1003,7 +1003,7 @@ e_comp_init(void)
 
 #ifdef HAVE_HWC
    // TO DO : check hwc init condition
-   if (conf->hwc)
+   if (conf->hwc && e_comp_gl_get())
      {
         e_comp->hwc = e_comp_hwc_init();
         if (!e_comp->hwc)