From d941f70dffae8ccc302ddd0fb3bb9ee07d67d191 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 15 Mar 2014 14:16:29 +0100 Subject: [PATCH] Should fix build on Pi. --- gfx/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/gl.c b/gfx/gl.c index 10f1df7a12..0848e2ad89 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1114,7 +1114,7 @@ static void gl_init_textures(void *data, const video_info_t *video) #if defined(HAVE_EGL) && defined(HAVE_OPENGLES2) // Use regular textures if we use HW render. gl->egl_images = !gl->hw_render_use && check_eglimage_proc() && - gl->ctx_context->init_egl_image_buffer && context_init_egl_image_buffer_func(gl, video); + gl->ctx_driver->init_egl_image_buffer && context_init_egl_image_buffer_func(gl, video); #else (void)video; #endif