set preferred engine.

SVN revision: 75442
This commit is contained in:
Carsten Haitzler 2012-08-20 06:25:29 +00:00
parent 11e03b096f
commit d00f76d831
1 changed files with 4 additions and 4 deletions

View File

@ -249,10 +249,10 @@ elm_main(int argc, char **argv)
if (!(gld = calloc(1, sizeof(GLData)))) return 1;
// set the engine to opengl_x11
// if commented out, ELM will choose one
elm_config_engine_set("opengl_x11");
// set the preferred engine to opengl_x11. if it isnt' available it
// may use another transparently
elm_config_preferred_engine_set("opengl_x11");
win = elm_win_add(NULL, "glview simple", ELM_WIN_BASIC);
elm_win_title_set(win, "GLView Simple");
elm_win_autodel_set(win, EINA_TRUE);