From b1be6c6def0138f4eeaae37d0fbc69c8660bff51 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 23 Mar 2018 12:55:00 +0000 Subject: [PATCH] Changed the isBufferObjectSupported flag so that it's true when either VBO or PBO's are supported --- src/osg/GLExtensions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/GLExtensions.cpp b/src/osg/GLExtensions.cpp index ef3ec20d5..15af09020 100644 --- a/src/osg/GLExtensions.cpp +++ b/src/osg/GLExtensions.cpp @@ -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