Get rid of unneeded HAVE_OPENGLES3 ifdef

This commit is contained in:
twinaphex 2014-12-03 18:31:43 +01:00
parent b8992333b8
commit c5cb86a47e

View File

@ -310,12 +310,10 @@ static bool android_gfx_ctx_bind_api(void *data,
unsigned version = major * 100 + minor; unsigned version = major * 100 + minor;
if (version > 300) if (version > 300)
return false; return false;
#ifdef HAVE_OPENGLES3
if (version < 300) if (version < 300)
g_es3 = false; g_es3 = false;
else if (version == 300) else if (version == 300)
g_es3 = true; g_es3 = true;
#endif
return api == GFX_CTX_OPENGL_ES_API; return api == GFX_CTX_OPENGL_ES_API;
} }