OpenGL ES should not reach this code

This commit is contained in:
twinaphex 2016-09-05 21:22:38 +02:00
parent a74813c9ea
commit 67c2965612

View File

@ -135,10 +135,11 @@ bool gl_check_capability(enum gl_capability_enum enum_idx)
#ifdef HAVE_OPENGLES
if (gles3)
return true;
#endif
#else
if (gl_query_extension("ARB_sync") &&
glFenceSync && glDeleteSync && glClientWaitSync)
return true;
#endif
break;
case GL_CAPS_MIPMAP:
{