mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanup android_gfx_ctx_bind_api
This commit is contained in:
parent
ca328662d0
commit
ae662b4fe2
@ -238,14 +238,9 @@ static bool android_gfx_ctx_bind_api(void *data,
|
||||
android_api = api;
|
||||
|
||||
#ifdef HAVE_OPENGLES
|
||||
version = major * 100 + minor;
|
||||
if (version > 300)
|
||||
return false;
|
||||
if (version < 300)
|
||||
g_es3 = false;
|
||||
else if (version == 300)
|
||||
version = major * 100 + minor;
|
||||
if (version >= 300)
|
||||
g_es3 = true;
|
||||
|
||||
if (api == GFX_CTX_OPENGL_ES_API)
|
||||
return true;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user