OPENGL: Detect framebuffer support using GL_ARB_framebuffer_object
We use functions from GL_ARB_framebuffer_object extension and not from GL_EXT_framebuffer_object where functions are suffixed by EXT. This avoids crashes on implementations supporting only the EXT version.
This commit is contained in:
parent
a640e6b489
commit
8569296384
2 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ void OpenGLGraphicsManager::initializeGLContext() {
|
|||
ARBFragmentShader = true;
|
||||
} else if (token == "GL_ARB_multitexture") {
|
||||
g_context.multitextureSupported = true;
|
||||
} else if (token == "GL_EXT_framebuffer_object") {
|
||||
} else if (token == "GL_ARB_framebuffer_object") {
|
||||
g_context.framebufferObjectSupported = true;
|
||||
} else if (token == "GL_EXT_packed_pixels" || token == "GL_APPLE_packed_pixels") {
|
||||
g_context.packedPixelsSupported = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue