Merge pull request #4180 from loganmc10/patch-3

Fix GL_CAPS_ARGB8
This commit is contained in:
Twinaphex 2016-12-07 20:37:25 +01:00 committed by GitHub
commit a1b67c60be

View File

@ -196,7 +196,8 @@ bool gl_check_capability(enum gl_capability_enum enum_idx)
case GL_CAPS_ARGB8:
#ifdef HAVE_OPENGLES
if (gl_query_extension("OES_rgb8_rgba8")
|| gl_query_extension("ARM_argb8"))
|| gl_query_extension("ARM_rgba8")
|| major >= 3)
return true;
#else
/* TODO/FIXME - implement this for non-GLES? */