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 <cp.michael@samsung.com>
This commit is contained in:
parent
b050a1890e
commit
b7e959c715
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue