From 8953bce122fe1804d263cf64440613f22d58b48a Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Fri, 30 Dec 2016 10:42:26 -0700 Subject: [PATCH] Found a combination that doesn't work --- gfx/common/gl_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/common/gl_common.c b/gfx/common/gl_common.c index 85f331092c..b54b414524 100644 --- a/gfx/common/gl_common.c +++ b/gfx/common/gl_common.c @@ -100,7 +100,7 @@ void gl_load_texture_image(GLenum target, glTexStorage2DEXT(target, 1, internalFormat, width, height); } #else - if (gl_check_capability(GL_CAPS_TEX_STORAGE)) + if (gl_check_capability(GL_CAPS_TEX_STORAGE) && internalFormat != GL_BGRA_EXT) { gl_size_format(&internalFormat); glTexStorage2D(target, 1, internalFormat, width, height);