GLExtenstions: fix checking of isFrameBufferObjectSupported flag for GLES2
This commit is contained in:
parent
7c926db2bd
commit
3dc3dd3bd6
@ -1075,7 +1075,7 @@ GLExtensions::GLExtensions(unsigned int in_contextID):
|
|||||||
glFramebufferRenderbuffer != 0 &&
|
glFramebufferRenderbuffer != 0 &&
|
||||||
glGenerateMipmap != 0 &&
|
glGenerateMipmap != 0 &&
|
||||||
glGetRenderbufferParameteriv != 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 &&
|
isPackedDepthStencilSupported = validContext &&
|
||||||
|
Loading…
Reference in New Issue
Block a user