summaryrefslogtreecommitdiff
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
parentbbd4b6e5148727b601954aa3bc2c7f50cf4dfba6 (diff)
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.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 d71e371..edc116d 100644
--- a/src/bin/elementary/test_glview.c
+++ b/src/bin/elementary/test_glview.c
@@ -1,8 +1,6 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4#include <Efl_Ui.h>
5#include <Elementary.h>
6 4
7#include <Efl_Ui.h> 5#include <Efl_Ui.h>
8#include <Elementary.h> 6#include <Elementary.h>
@@ -632,7 +630,7 @@ _test_glview_do(Evas_GL_Context_Version version)
632 if (!(gld = calloc(1, sizeof(GLData)))) return; 630 if (!(gld = calloc(1, sizeof(GLData)))) return;
633 gldata_init(gld); 631 gldata_init(gld);
634 632
635#if 0 633#if 1
636 // add a Z-depth buffer to the window and try to use GL 634 // add a Z-depth buffer to the window and try to use GL
637 Eina_Stringshare *accel; 635 Eina_Stringshare *accel;
638 accel = eina_stringshare_add(elm_config_accel_preference_get()); 636 accel = eina_stringshare_add(elm_config_accel_preference_get());
@@ -731,6 +729,7 @@ _test_glview_do(Evas_GL_Context_Version version)
731 evas_object_smart_callback_add(bt, "clicked", _on_done, win); 729 evas_object_smart_callback_add(bt, "clicked", _on_done, win);
732 730
733 evas_object_resize(win, 320, 480); 731 evas_object_resize(win, 320, 480);
732 evas_object_show(win);
734} 733}
735 734
736void 735void