[Evas GL] Initialize evas gl engine after evas stuff is initialized first.
authorSung W. Park <dunamis.park@samsung.com>
Fri, 12 Apr 2013 08:02:43 +0000 (17:02 +0900)
committerSung W. Park <dunamis.park@samsung.com>
Fri, 12 Apr 2013 08:02:43 +0000 (17:02 +0900)
src/modules/evas/engines/gl_x11/evas_engine.c

index e486e0d50e96c0d265cda23fc406aad7e9819795..4bf8dcdb8ace79093316a3a68a6bd47e41553a9e 100644 (file)
@@ -842,10 +842,6 @@ eng_setup(Evas *eo_e, void *in)
         e->engine.data.output = re;
         gl_wins++;
 
-        re->evgl_engine = evgl_engine_create(&evgl_funcs, (void*)re);
-        if (!re->evgl_engine)
-          ERR("Error Creating Evas_GL Engine. Evas GL will not be supported!");
-
         if (!initted)
           {
              gl_symbols();
@@ -864,6 +860,10 @@ eng_setup(Evas *eo_e, void *in)
              gl_extn_veto(re);
              initted = 1;
           }
+
+        re->evgl_engine = evgl_engine_create(&evgl_funcs, (void*)re);
+        if (!re->evgl_engine)
+          ERR("Error Creating Evas_GL Engine. Evas GL will not be supported!");
      }
    else
      {