aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_glview.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-18 09:26:19 -0400
committerCedric BAIL <cedric.bail@free.fr>2019-03-20 12:36:48 -0700
commitbc03654caf091afde3840f555af66953ffece6cf (patch)
tree349526197aa3b39f3c12c89666925173914641cf /src/bin/elementary/test_glview.c
parentdocs: Remove obsolete @since tags from EO files (diff)
downloadefl-bc03654caf091afde3840f555af66953ffece6cf.tar.gz
elm_test: use legacy api for glview gears test
mixing interfaces api with legacy api is bad for elm_win ref https://phab.enlightenment.org/T7713 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8388
Diffstat (limited to 'src/bin/elementary/test_glview.c')
-rw-r--r--src/bin/elementary/test_glview.c5
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