Changed the isBufferObjectSupported flag so that it's true when either VBO or PBO's are supported

This commit is contained in:
Robert Osfield 2018-03-23 12:55:00 +00:00
parent b1170621c8
commit b1be6c6def

View File

@ -740,7 +740,7 @@ GLExtensions::GLExtensions(unsigned int in_contextID):
isTBOSupported = validContext && osg::isGLExtensionSupported(contextID,"GL_ARB_texture_buffer_object");
isVAOSupported = validContext && (OSG_GLES3_FEATURES || OSG_GL3_FEATURES || osg::isGLExtensionSupported(contextID, "GL_ARB_vertex_array_object", "GL_OES_vertex_array_object"));
isTransformFeedbackSupported = validContext && osg::isGLExtensionSupported(contextID, "GL_ARB_transform_feedback2");
isBufferObjectSupported = isVBOSupported && isPBOSupported;
isBufferObjectSupported = isVBOSupported || isPBOSupported;
// BlendFunc extensions