GLExtenstions: fix checking of isFrameBufferObjectSupported flag for GLES2

This commit is contained in:
Alexander Roan
2017-04-24 10:38:02 +01:00
committed by Robert Osfield
parent 9eaf03e16e
commit 397ab4aa51

View File

@@ -1036,7 +1036,7 @@ GLExtensions::GLExtensions(unsigned int contextID)
glFramebufferRenderbuffer != 0 &&
glGenerateMipmap != 0 &&
glGetRenderbufferParameteriv != 0 &&
( OSG_GLES1_FEATURES || isGLExtensionOrVersionSupported(contextID, "GL_EXT_framebuffer_object",3.0f) );
( OSG_GLES2_FEATURES || OSG_GLES1_FEATURES || isGLExtensionOrVersionSupported(contextID, "GL_EXT_framebuffer_object",3.0f) );
isPackedDepthStencilSupported = OSG_GL3_FEATURES ||