mirror of https://github.com/axmolengine/axmol.git
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:
parent
14b8fc0a71
commit
d41124a5b1
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue