jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5fd4875ad4832e03d33c3493bfa996509f3ae944

commit 5fd4875ad4832e03d33c3493bfa996509f3ae944
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Oct 19 13:32:55 2016 +0900

    evas: Fix compilation with older EGL (maybe <1.5)
    
    EGLImage was not introduced until very recently. EGLImageKHR was
    the proper type. Thanks Roy for the report.
---
 src/modules/evas/engines/gl_x11/evas_engine.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c 
b/src/modules/evas/engines/gl_x11/evas_engine.c
index f79d566..b5a2ea3 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -80,8 +80,8 @@ glsym_func_void_ptr glsym_evas_gl_common_current_context_get 
= NULL;
 #ifdef GL_GLES
 
 _eng_fn  (*glsym_eglGetProcAddress)            (const char *a) = NULL;
-EGLImage (*glsym_eglCreateImage)               (EGLDisplay a, EGLContext b, 
EGLenum c, EGLClientBuffer d, const EGLAttrib *e) = NULL;
-EGLImage (*glsym_eglCreateImageKHR)            (EGLDisplay a, EGLContext b, 
EGLenum c, EGLClientBuffer d, EGLint *e) = NULL;
+EGLImageKHR (*glsym_eglCreateImage)            (EGLDisplay a, EGLContext b, 
EGLenum c, EGLClientBuffer d, const EGLAttrib *e) = NULL;
+EGLImageKHR (*glsym_eglCreateImageKHR)         (EGLDisplay a, EGLContext b, 
EGLenum c, EGLClientBuffer d, EGLint *e) = NULL;
 void     (*glsym_eglDestroyImage)              (EGLDisplay a, void *b) = NULL;
 void     (*glsym_glEGLImageTargetTexture2DOES) (int a, void *b)  = NULL;
 unsigned int   (*glsym_eglSwapBuffersWithDamage) (EGLDisplay a, void *b, const 
EGLint *d, EGLint c) = NULL;

-- 


Reply via email to