From 02f0b4a4289337e4f143bb6ff84868f2fb843ff8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 3 Aug 2016 00:21:48 +0200 Subject: [PATCH] GL_CAPS_BGRA8888 - Query for Apple extension GL_APPLE_texture_format_BGRA8888 too --- gfx/drivers/gl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 77a341d404..90ca126f51 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -531,6 +531,8 @@ bool gl_check_capability(enum gl_capability_enum enum_idx) * should be purposefully avoided. */ if (gl_query_extension("BGRA8888") && !strstr(renderer, "VideoCore")) return true; + if (gl_query_extension("APPLE_texture_format_BGRA8888")) + return true; #else /* TODO/FIXME - implement this for non-GLES? */ #endif