Use BGRA8888 on VideoCore

This commit is contained in:
Jean-André Santoni 2016-11-08 20:22:23 +01:00
parent 02e4dbfa0f
commit 1d8b6ceafd

View File

@ -298,9 +298,7 @@ bool gl_check_capability(enum gl_capability_enum enum_idx)
case GL_CAPS_BGRA8888:
#ifdef HAVE_OPENGLES
/* There are both APPLE and EXT variants. */
/* Videocore hardware supports BGRA8888 extension, but
* should be purposefully avoided. */
if (gl_query_extension("BGRA8888") && !strstr(renderer, "VideoCore"))
if (gl_query_extension("BGRA8888"))
return true;
#else
return true;