summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/ecore_wl2/ecore_wl2_test_window.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/tests/ecore_wl2/ecore_wl2_test_window.c b/src/tests/ecore_wl2/ecore_wl2_test_window.c
index 86ff1145c3..12a7126b40 100644
--- a/src/tests/ecore_wl2/ecore_wl2_test_window.c
+++ b/src/tests/ecore_wl2/ecore_wl2_test_window.c
@@ -20,24 +20,25 @@
20#define WIDTH 480 20#define WIDTH 480
21#define HEIGHT 360 21#define HEIGHT 360
22 22
23typedef struct _Test_Data { 23typedef struct _Test_Data
24 Ecore_Wl2_Display *display; 24{
25 Ecore_Wl2_Window *win; 25 Ecore_Wl2_Display *display;
26 Ecore_Wl2_Frame_Cb_Handle *frame_callback_handler; 26 Ecore_Wl2_Window *win;
27 Ecore_Event_Handler *handler; 27 Ecore_Wl2_Frame_Cb_Handle *frame_callback_handler;
28 Ecore_Event_Handler *handler;
28 29
29 struct wl_surface *surface; 30 struct wl_surface *surface;
30 struct wl_egl_window *egl_window; 31 struct wl_egl_window *egl_window;
31 32
32 int width; 33 int width;
33 int height; 34 int height;
34 int frame_callback_count; 35 int frame_callback_count;
35 36
36#ifdef GL_GLES 37#ifdef GL_GLES
37 EGLDisplay egl_display; 38 EGLDisplay egl_display;
38 EGLConfig egl_conf; 39 EGLConfig egl_conf;
39 EGLSurface egl_surface; 40 EGLSurface egl_surface;
40 EGLContext egl_context; 41 EGLContext egl_context;
41#endif 42#endif
42} Test_Data; 43} Test_Data;
43 44