If the preferred engine set to "opengl_x11" and we actully run on
"wayland_egl" engine, the elm_win_add will eventully use "Software FB"
engine, and no chance to use the correct engine.
Don't set the preference but let the _elm_config to determine the right
engine.
SVN revision: 75921
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_util_standard_add("glview", "GLView");
- // Set preferred engine back to default from config
- elm_config_preferred_engine_set(NULL);
elm_win_autodel_set(win, EINA_TRUE);
if (!(gld = calloc(1, sizeof(GLData)))) return;
- // Set the engine to opengl_x11
- elm_config_preferred_engine_set("opengl_x11");
win = elm_win_util_standard_add("glview simple", "GLView Simple");
- // Set preferred engine back to default from config
- elm_config_preferred_engine_set(NULL);
elm_win_autodel_set(win, EINA_TRUE);