GLExtenstions: fix checking of isFrameBufferObjectSupported flag for GLES2

This commit is contained in:
Alexander Roan 2017-04-15 00:04:51 +03:00 committed by Robert Osfield
parent 7c926db2bd
commit 3dc3dd3bd6

View File

@ -1075,7 +1075,7 @@ GLExtensions::GLExtensions(unsigned int in_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 = validContext &&