From f39a83714411fc18a2889239c4165dfe7f5e9365 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Mon, 20 Aug 2012 06:25:29 +0000 Subject: [PATCH] set preferred engine. SVN revision: 75442 --- src/examples/glview_example_01.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/examples/glview_example_01.c b/src/examples/glview_example_01.c index 9fccdd8..c4bbd1e 100644 --- a/src/examples/glview_example_01.c +++ b/src/examples/glview_example_01.c @@ -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); -- 2.7.4