Fix GL_CAPS_ARGB8

ARM_argb8 should be ARM_rgba8, and GLES3 always supports this feature
This commit is contained in:
Logan McNaughton 2016-12-07 12:34:02 -07:00 committed by GitHub
parent 9656c5e7a1
commit 07a9a75a00

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? */