From e27940e64696e58922e90f08a8a7eb09c552ee5e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 19 Nov 2016 03:54:21 +0100 Subject: [PATCH] Fixes Android 2.4 compatibility --- gfx/drivers_context/android_ctx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/drivers_context/android_ctx.c b/gfx/drivers_context/android_ctx.c index 153c00f975..2801deabf8 100644 --- a/gfx/drivers_context/android_ctx.c +++ b/gfx/drivers_context/android_ctx.c @@ -105,11 +105,15 @@ static void *android_gfx_ctx_init(void *video_driver) #ifdef HAVE_OPENGLES EGLint n, major, minor; EGLint format; +#if 0 struct retro_hw_render_callback *hwr = video_driver_get_hw_context(); bool debug = hwr->debug_context; +#endif EGLint context_attributes[] = { EGL_CONTEXT_CLIENT_VERSION, g_es3 ? 3 : 2, +#if 0 EGL_CONTEXT_FLAGS_KHR, debug ? EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR : 0, +#endif EGL_NONE }; EGLint attribs[] = {