check for correct GL extension (#16346)

uses `GL_IMG_texture_format_BGRA8888` instead of `GL_IMG_texture_format_BGRA888`

fixes issue #16336
This commit is contained in:
Ricardo Quesada 2016-08-10 03:24:41 -07:00 committed by GitHub
parent 14b8fc0a71
commit d41124a5b1
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ void Configuration::gatherGPUInfo()
_supportsNPOT = true;
_valueDict["gl.supports_NPOT"] = Value(_supportsNPOT);
_supportsBGRA8888 = checkForGLExtension("GL_IMG_texture_format_BGRA888");
_supportsBGRA8888 = checkForGLExtension("GL_IMG_texture_format_BGRA8888");
_valueDict["gl.supports_BGRA8888"] = Value(_supportsBGRA8888);
_supportsDiscardFramebuffer = checkForGLExtension("GL_EXT_discard_framebuffer");