diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-03-18 09:26:19 -0400 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2019-03-20 12:36:48 -0700 |
commit | bc03654caf091afde3840f555af66953ffece6cf (patch) | |
tree | 349526197aa3b39f3c12c89666925173914641cf | |
parent | bbd4b6e5148727b601954aa3bc2c7f50cf4dfba6 (diff) | |
download | efl-bc03654caf091afde3840f555af66953ffece6cf.tar.gz |
elm_test: use legacy api for glview gears test
mixing interfaces api with legacy api is bad for elm_win
ref T7713
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8388
-rw-r--r-- | src/bin/elementary/test_glview.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/elementary/test_glview.c b/src/bin/elementary/test_glview.c index d71e371965..edc116d62c 100644 --- a/src/bin/elementary/test_glview.c +++ b/src/bin/elementary/test_glview.c @@ -1,8 +1,6 @@ #ifdef HAVE_CONFIG_H # include "elementary_config.h" #endif -#include <Efl_Ui.h> -#include <Elementary.h> #include <Efl_Ui.h> #include <Elementary.h> @@ -632,7 +630,7 @@ _test_glview_do(Evas_GL_Context_Version version) if (!(gld = calloc(1, sizeof(GLData)))) return; gldata_init(gld); -#if 0 +#if 1 // add a Z-depth buffer to the window and try to use GL Eina_Stringshare *accel; accel = eina_stringshare_add(elm_config_accel_preference_get()); @@ -731,6 +729,7 @@ _test_glview_do(Evas_GL_Context_Version version) evas_object_smart_callback_add(bt, "clicked", _on_done, win); evas_object_resize(win, 320, 480); + evas_object_show(win); } void |