req gl eng for 3d test
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 9 Mar 2012 06:35:29 +0000 (06:35 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 9 Mar 2012 06:35:29 +0000 (06:35 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69075 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/test_glview.c

index ecade55..0998c39 100644 (file)
@@ -566,7 +566,12 @@ test_glview(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
    gldata_init(gld);
 
    // new window - do the usual and give it a name, title and delete handler
+   // Set the engine to opengl_x11
+   elm_config_preferred_engine_set("opengl_x11");
    win = elm_win_add(NULL, "glview", ELM_WIN_BASIC);
+   // Set preferred engine back to default from config
+   elm_config_preferred_engine_set(NULL);
+   
    elm_win_title_set(win, "GLView");
    elm_win_autodel_set(win, EINA_TRUE);