summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_egl/evas_engine.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-12-19 16:13:48 -0600
committerDerek Foreman <derekf@osg.samsung.com>2016-12-19 16:13:48 -0600
commitfba3927a7d7b3eb4986b302ae775e188a9ada8fa (patch)
tree4867f5aa37a6e9982bc0dcb7d96f49492d41050f /src/modules/evas/engines/wayland_egl/evas_engine.c
parentac4c8dbbab52a7e2cc6e8b0ba7acff194a6d562a (diff)
wayland_egl: Remove some weirdness from our egl extension queries
Still totally wrong, of course, but at least a little less wacky.
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, 1 insertions, 5 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 585b404..4653f50 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -134,6 +134,7 @@ gl_symbols(void)
134 LINK2GENERIC(evgl_native_surface_yinvert_get); 134 LINK2GENERIC(evgl_native_surface_yinvert_get);
135 LINK2GENERIC(evgl_engine_shutdown); 135 LINK2GENERIC(evgl_engine_shutdown);
136 LINK2GENERIC(evas_gl_symbols); 136 LINK2GENERIC(evas_gl_symbols);
137 LINK2GENERIC(eglGetProcAddress);
137 138
138#define FINDSYM(dst, sym, typ) \ 139#define FINDSYM(dst, sym, typ) \
139 if (glsym_eglGetProcAddress) { \ 140 if (glsym_eglGetProcAddress) { \
@@ -142,11 +143,6 @@ gl_symbols(void)
142 if (!dst) dst = (typ)dlsym(RTLD_DEFAULT, sym); \ 143 if (!dst) dst = (typ)dlsym(RTLD_DEFAULT, sym); \
143 } 144 }
144 145
145 FINDSYM(glsym_eglGetProcAddress, "eglGetProcAddressKHR", glsym_func_eng_fn);
146 FINDSYM(glsym_eglGetProcAddress, "eglGetProcAddressEXT", glsym_func_eng_fn);
147 FINDSYM(glsym_eglGetProcAddress, "eglGetProcAddressARB", glsym_func_eng_fn);
148 FINDSYM(glsym_eglGetProcAddress, "eglGetProcAddress", glsym_func_eng_fn);
149
150 glsym_evas_gl_symbols((void*)glsym_eglGetProcAddress); 146 glsym_evas_gl_symbols((void*)glsym_eglGetProcAddress);
151 147
152 FINDSYM(glsym_eglCreateImage, "eglCreateImageKHR", glsym_func_void_ptr); 148 FINDSYM(glsym_eglCreateImage, "eglCreateImageKHR", glsym_func_void_ptr);