Merge pull request #4339 from loganmc10/patch-7

Found a combination that doesn't work
This commit is contained in:
Twinaphex 2016-12-30 18:45:58 +01:00 committed by GitHub
commit 62b79a28b4

View File

@ -100,7 +100,7 @@ void gl_load_texture_image(GLenum target,
glTexStorage2DEXT(target, 1, internalFormat, width, height); glTexStorage2DEXT(target, 1, internalFormat, width, height);
} }
#else #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); gl_size_format(&internalFormat);
glTexStorage2D(target, 1, internalFormat, width, height); glTexStorage2D(target, 1, internalFormat, width, height);