From c0bdc6745847a7c1660e4b0cf2bfa8885f222113 Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Fri, 30 Dec 2016 10:29:26 -0700 Subject: [PATCH] One more sized format --- gfx/common/gl_common.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gfx/common/gl_common.c b/gfx/common/gl_common.c index 132efdfbd6..aa45ccdafa 100644 --- a/gfx/common/gl_common.c +++ b/gfx/common/gl_common.c @@ -71,6 +71,11 @@ static void gl_size_format(GLint* internalFormat) *internalFormat = GL_RGBA8; #endif break; +#ifdef HAVE_OPENGLES2 + case GL_BGRA: + *internalFormat = GL_BGRA8_EXT; + break; +#endif } #endif }