mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Use BGRA8888 on VideoCore
This commit is contained in:
parent
02e4dbfa0f
commit
1d8b6ceafd
@ -298,9 +298,7 @@ bool gl_check_capability(enum gl_capability_enum enum_idx)
|
|||||||
case GL_CAPS_BGRA8888:
|
case GL_CAPS_BGRA8888:
|
||||||
#ifdef HAVE_OPENGLES
|
#ifdef HAVE_OPENGLES
|
||||||
/* There are both APPLE and EXT variants. */
|
/* There are both APPLE and EXT variants. */
|
||||||
/* Videocore hardware supports BGRA8888 extension, but
|
if (gl_query_extension("BGRA8888"))
|
||||||
* should be purposefully avoided. */
|
|
||||||
if (gl_query_extension("BGRA8888") && !strstr(renderer, "VideoCore"))
|
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user