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 }