Change this to HAVE_OPENGLES instead of HAVE_OPENGLES2

This commit is contained in:
twinaphex 2016-08-08 18:40:58 +02:00
parent becf96837e
commit 8da3054968

View File

@ -410,7 +410,7 @@ bool gl_check_capability(enum gl_capability_enum enum_idx)
case GL_CAPS_DEBUG:
if (gl_query_extension("KHR_debug"))
return true;
#ifndef HAVE_OPENGLES2
#ifndef HAVE_OPENGLES
if (gl_query_extension("ARB_debug_output"))
return true;
#endif