forked from enlightenment/efl
gl_common: Stop looking for eglCreate/DestroyImageOES
These aren't a thing. the GL_OES_EGL_image_base extension doesn't exist and the GL_OES_EGL_image extension doesn't extend egl, because it's a gl extension. So let's stop being the only google match for these nonsense strings.
This commit is contained in:
parent
7231a3295b
commit
855f59da8d
|
@ -327,14 +327,10 @@ evas_gl_symbols(void *(*GetProcAddress)(const char *name), const char *extsn EIN
|
|||
{
|
||||
FINDSYMN(eglsym_eglCreateImageKHR, "eglCreateImageKHR", "EGL_KHR_image_base", secsym_func_void_ptr);
|
||||
FINDSYMN(eglsym_eglCreateImageKHR, "eglCreateImageKHR", "EGL_KHR_image", secsym_func_void_ptr);
|
||||
FINDSYMN(eglsym_eglCreateImageKHR, "eglCreateImageOES", "GL_OES_EGL_image_base", secsym_func_void_ptr);
|
||||
FINDSYMN(eglsym_eglCreateImageKHR, "eglCreateImageOES", "GL_OES_EGL_image", secsym_func_void_ptr);
|
||||
if (eglsym_eglCreateImageKHR)
|
||||
{
|
||||
FINDSYMN(secsym_eglDestroyImage, "eglDestroyImageKHR", "EGL_KHR_image_base", secsym_func_uint);
|
||||
FINDSYMN(secsym_eglDestroyImage, "eglDestroyImageKHR", "EGL_KHR_image", secsym_func_uint);
|
||||
FINDSYMN(secsym_eglDestroyImage, "eglDestroyImageOES", "GL_OES_EGL_image_base", secsym_func_uint);
|
||||
FINDSYMN(secsym_eglDestroyImage, "eglDestroyImageOES", "GL_OES_EGL_image", secsym_func_uint);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -350,11 +346,9 @@ evas_gl_symbols(void *(*GetProcAddress)(const char *name), const char *extsn EIN
|
|||
// .... :(
|
||||
dl_fallback = EINA_TRUE;
|
||||
FINDSYMN(eglsym_eglCreateImageKHR, "eglCreateImageKHR", NULL, secsym_func_void_ptr);
|
||||
FINDSYMN(eglsym_eglCreateImageKHR, "eglCreateImageOES", NULL, secsym_func_void_ptr);
|
||||
if (eglsym_eglCreateImageKHR)
|
||||
{
|
||||
FINDSYMN(secsym_eglDestroyImage, "eglDestroyImageKHR", NULL, secsym_func_uint);
|
||||
FINDSYMN(secsym_eglDestroyImage, "eglDestroyImageOES", NULL, secsym_func_uint);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue