mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +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
|
#ifdef HAVE_OPENGLES
|
||||||
EGLint n, major, minor;
|
EGLint n, major, minor;
|
||||||
EGLint format;
|
EGLint format;
|
||||||
|
#if 0
|
||||||
struct retro_hw_render_callback *hwr = video_driver_get_hw_context();
|
struct retro_hw_render_callback *hwr = video_driver_get_hw_context();
|
||||||
bool debug = hwr->debug_context;
|
bool debug = hwr->debug_context;
|
||||||
|
#endif
|
||||||
EGLint context_attributes[] = {
|
EGLint context_attributes[] = {
|
||||||
EGL_CONTEXT_CLIENT_VERSION, g_es3 ? 3 : 2,
|
EGL_CONTEXT_CLIENT_VERSION, g_es3 ? 3 : 2,
|
||||||
|
#if 0
|
||||||
EGL_CONTEXT_FLAGS_KHR, debug ? EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR : 0,
|
EGL_CONTEXT_FLAGS_KHR, debug ? EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR : 0,
|
||||||
|
#endif
|
||||||
EGL_NONE
|
EGL_NONE
|
||||||
};
|
};
|
||||||
EGLint attribs[] = {
|
EGLint attribs[] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user