summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-11-20 16:51:59 +0100
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-11-20 16:54:24 +0100
commit90c7a95a546e08e406a71cc1f85e2607f1b54af3 (patch)
tree4bcbd580b6fbb716f2165c7f014ce21b1f17b7a1
parentd91caf3e3b153da9260474f2536e9f6eee4c096e (diff)
evas-gl_cocoa: add missing EVGL function
Not providing a call to the first method segfaults in elm_glview right away. Instead of crashing, we now just issue a runtime error about the method not being implemented.
-rw-r--r--src/modules/evas/engines/gl_cocoa/evas_engine.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_cocoa/evas_engine.c b/src/modules/evas/engines/gl_cocoa/evas_engine.c
index 585323afcb..52ca7433d4 100644
--- a/src/modules/evas/engines/gl_cocoa/evas_engine.c
+++ b/src/modules/evas/engines/gl_cocoa/evas_engine.c
@@ -28,6 +28,11 @@ static Evas_Func func, pfunc;
28static Eina_Bool _initted = EINA_FALSE; 28static Eina_Bool _initted = EINA_FALSE;
29static int _gl_wins = 0; 29static int _gl_wins = 0;
30 30
31static void *
32evgl_eng_display_get(void *data EINA_UNUSED)
33{
34 GL_COCOA_UNIMPLEMENTED_CALL_SO_RETURN(NULL);
35}
31 36
32static void * 37static void *
33evgl_eng_native_window_create(void *data EINA_UNUSED) 38evgl_eng_native_window_create(void *data EINA_UNUSED)
@@ -100,7 +105,7 @@ evgl_eng_rotation_angle_get(void *data EINA_UNUSED)
100 105
101static const EVGL_Interface evgl_funcs = 106static const EVGL_Interface evgl_funcs =
102{ 107{
103 NULL, 108 evgl_eng_display_get,
104 NULL, 109 NULL,
105 evgl_eng_native_window_create, 110 evgl_eng_native_window_create,
106 evgl_eng_native_window_destroy, 111 evgl_eng_native_window_destroy,