devilhorns pushed a commit to branch master.

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

commit b7e959c715306abdb34db1ef87a90f488e53a7ef
Author: Chris Michael <[email protected]>
Date:   Fri Oct 24 08:37:51 2014 -0400

    evas-gl-drm: Fix initialization from incompatible pointer type
    
    Summary: The function prototype for eng_context_create has recently
    changed in gl_common, however nobody thought it wise to update all
    engines using it, so this commit fixes the function for the gl_drm
    engine.
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/gl_drm/evas_engine.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c 
b/src/modules/evas/engines/gl_drm/evas_engine.c
index 3fdad3a..49692c5 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -84,7 +84,7 @@ static void *evgl_eng_native_window_create(void *data);
 static int evgl_eng_native_window_destroy(void *data, void *native_window);
 static void *evgl_eng_window_surface_create(void *data, void *native_window);
 static int evgl_eng_window_surface_destroy(void *data, void *surface);
-static void *evgl_eng_context_create(void *data, void *share_ctx, int version);
+static void *evgl_eng_context_create(void *data, void *share_ctx, 
Evas_GL_Context_Version version);
 static int evgl_eng_context_destroy(void *data, void *context);
 static const char *evgl_eng_string_get(void *data);
 static void *evgl_eng_proc_address_get(const char *name);
@@ -401,7 +401,7 @@ evgl_eng_window_surface_destroy(void *data, void *surface)
 }
 
 static void *
-evgl_eng_context_create(void *data, void *share_ctx, int version)
+evgl_eng_context_create(void *data, void *share_ctx, Evas_GL_Context_Version 
version)
 {
    Render_Engine *re = (Render_Engine *)data;
    EGLContext context = EGL_NO_CONTEXT;

-- 


Reply via email to