diff --git a/include/osg/GLExtensions b/include/osg/GLExtensions index ee6d00b5f..ff0bb3ba8 100644 --- a/include/osg/GLExtensions +++ b/include/osg/GLExtensions @@ -315,6 +315,8 @@ class OSG_EXPORT GLExtensions : public osg::Referenced bool isBufferObjectSupported; bool isPBOSupported; bool isTBOSupported; + bool isVAOSupported; + bool isTransformFeedbackSupported; void (GL_APIENTRY * glGenBuffers) (GLsizei n, GLuint *buffers); void (GL_APIENTRY * glBindBuffer) (GLenum target, GLuint buffer); diff --git a/src/osg/GLExtensions.cpp b/src/osg/GLExtensions.cpp index d5bc9de44..fa1c365af 100644 --- a/src/osg/GLExtensions.cpp +++ b/src/osg/GLExtensions.cpp @@ -680,7 +680,8 @@ GLExtensions::GLExtensions(unsigned int contextID) isPBOSupported = OSG_GL3_FEATURES || osg::isGLExtensionSupported(contextID,"GL_ARB_pixel_buffer_object"); isUniformBufferObjectSupported = osg::isGLExtensionSupported(contextID, "GL_ARB_uniform_buffer_object"); isTBOSupported = osg::isGLExtensionSupported(contextID,"GL_ARB_texture_buffer_object"); - + isVAOSupported = osg::isGLExtensionSupported(contextID, "GL_ARB_vertex_array_object"); + isTransformFeedbackSupported = osg::isGLExtensionSupported(contextID, "GL_ARB_transform_feedback2"); // BlendFunc extensions isBlendFuncSeparateSupported = OSG_GLES2_FEATURES || OSG_GL3_FEATURES ||