summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-09-05 11:52:46 -0300
committerRafael Antognolli <rafael.antognolli@intel.com>2013-09-05 11:52:46 -0300
commit27c5c518907ff8edf03fa43059d621ee9c48a0a6 (patch)
treebb3bb75834dbbdba61f036308c936cf6d7c348e6
parent49a3f7ee22b6ddf0869a6ba82660308c3f4d0bbd (diff)
elm/tests: Autodetect engine, instead of hardcode it.
-rw-r--r--src/bin/test_glview.c4
-rw-r--r--src/bin/test_glview_simple.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/bin/test_glview.c b/src/bin/test_glview.c
index 2bd6dc993..a97cc47f8 100644
--- a/src/bin/test_glview.c
+++ b/src/bin/test_glview.c
@@ -577,11 +577,7 @@ test_glview(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
577 gldata_init(gld); 577 gldata_init(gld);
578 578
579 // new window - do the usual and give it a name, title and delete handler 579 // new window - do the usual and give it a name, title and delete handler
580 // Set the engine to opengl_x11
581 elm_config_preferred_engine_set("opengl_x11");
582 win = elm_win_util_standard_add("glview", "GLView"); 580 win = elm_win_util_standard_add("glview", "GLView");
583 // Set preferred engine back to default from config
584 elm_config_preferred_engine_set(NULL);
585 581
586 elm_win_autodel_set(win, EINA_TRUE); 582 elm_win_autodel_set(win, EINA_TRUE);
587 583
diff --git a/src/bin/test_glview_simple.c b/src/bin/test_glview_simple.c
index fc21ef43c..d62b2c2a1 100644
--- a/src/bin/test_glview_simple.c
+++ b/src/bin/test_glview_simple.c
@@ -238,11 +238,7 @@ test_glview_simple(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *eve
238 238
239 if (!(gld = calloc(1, sizeof(GLData)))) return; 239 if (!(gld = calloc(1, sizeof(GLData)))) return;
240 240
241 // Set the engine to opengl_x11
242 elm_config_preferred_engine_set("opengl_x11");
243 win = elm_win_util_standard_add("glview simple", "GLView Simple"); 241 win = elm_win_util_standard_add("glview simple", "GLView Simple");
244 // Set preferred engine back to default from config
245 elm_config_preferred_engine_set(NULL);
246 242
247 elm_win_autodel_set(win, EINA_TRUE); 243 elm_win_autodel_set(win, EINA_TRUE);
248 244