mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fixes Android 2.4 compatibility
This commit is contained in:
parent
d4296b016f
commit
e27940e646
@ -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[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user