summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_egl/evas_engine.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-07-19 11:42:42 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-07-19 11:44:00 -0500
commit86377caa0e373d30ebe9772f21389a89e8f730dc (patch)
tree01c4d733c6d083ce94f487af6dee727074b629a1 /src/modules/evas/engines/wayland_egl/evas_engine.c
parent7fd66e84d92476cd4294a82c79f5bdd43d1832a6 (diff)
wayland_egl: de-wtf the eglGetProcAddress prototype
Diffstat (limited to 'src/modules/evas/engines/wayland_egl/evas_engine.c')
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index c8d2365..db2e3c6 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -32,8 +32,6 @@ struct _Render_Engine
32}; 32};
33 33
34/* local function prototypes */ 34/* local function prototypes */
35typedef void (*_eng_fn) (void);
36typedef _eng_fn (*glsym_func_eng_fn) ();
37typedef void (*glsym_func_void) (); 35typedef void (*glsym_func_void) ();
38typedef void *(*glsym_func_void_ptr) (); 36typedef void *(*glsym_func_void_ptr) ();
39typedef int (*glsym_func_int) (); 37typedef int (*glsym_func_int) ();
@@ -66,7 +64,7 @@ Evas_GL_Preload_Render_Call glsym_evas_gl_preload_render_lock = NULL;
66Evas_GL_Preload_Render_Call glsym_evas_gl_preload_render_unlock = NULL; 64Evas_GL_Preload_Render_Call glsym_evas_gl_preload_render_unlock = NULL;
67Evas_GL_Preload_Render_Call glsym_evas_gl_preload_render_relax = NULL; 65Evas_GL_Preload_Render_Call glsym_evas_gl_preload_render_relax = NULL;
68 66
69_eng_fn (*glsym_eglGetProcAddress) (const char *a) = NULL; 67void * (*glsym_eglGetProcAddress) (const char *a) = NULL;
70EGLImageKHR (*glsym_evas_gl_common_eglCreateImage)(EGLDisplay a, EGLContext b, EGLenum c, EGLClientBuffer d, const EGLAttrib *e) = NULL; 68EGLImageKHR (*glsym_evas_gl_common_eglCreateImage)(EGLDisplay a, EGLContext b, EGLenum c, EGLClientBuffer d, const EGLAttrib *e) = NULL;
71int (*glsym_evas_gl_common_eglDestroyImage) (EGLDisplay a, void *b) = NULL; 69int (*glsym_evas_gl_common_eglDestroyImage) (EGLDisplay a, void *b) = NULL;
72void (*glsym_glEGLImageTargetTexture2DOES) (int a, void *b) = NULL; 70void (*glsym_glEGLImageTargetTexture2DOES) (int a, void *b) = NULL;
@@ -151,7 +149,7 @@ gl_symbols(void)
151// exts = eglQueryString(ob->egl_disp, EGL_EXTENSIONS); 149// exts = eglQueryString(ob->egl_disp, EGL_EXTENSIONS);
152 150
153 // Find GL extensions 151 // Find GL extensions
154 glsym_evas_gl_symbols((void*)glsym_eglGetProcAddress, exts); 152 glsym_evas_gl_symbols(glsym_eglGetProcAddress, exts);
155 153
156 FINDSYM(glsym_glEGLImageTargetTexture2DOES, "glEGLImageTargetTexture2DOES", 154 FINDSYM(glsym_glEGLImageTargetTexture2DOES, "glEGLImageTargetTexture2DOES",
157 glsym_func_void); 155 glsym_func_void);