From 092c094752cea69042e49e8496b2b1e90f8bd23e Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Wed, 2 Jul 2003 01:56:12 +0000 Subject: [PATCH] Fixed glBindBufferARB to extensions->glBindBuffer() --- src/osg/Geometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osg/Geometry.cpp b/src/osg/Geometry.cpp index b8d7d3ff8..86e3de139 100644 --- a/src/osg/Geometry.cpp +++ b/src/osg/Geometry.cpp @@ -928,7 +928,7 @@ void Geometry::drawImplementation(State& state) const //std::cout << "binding VertexBuffer "<glBindBuffer(GL_ARRAY_BUFFER_ARB,buffer); if( _vertexArray.valid() ) state.setVertexPointer(_vertexArray->getDataSize(),_vertexArray->getDataType(),0,(const GLvoid*)_vertexOffset); @@ -1133,7 +1133,7 @@ void Geometry::drawImplementation(State& state) const if (_useVertexBufferObjects) { - glBindBufferARB(GL_ARRAY_BUFFER_ARB,0); + extensions->glBindBuffer(GL_ARRAY_BUFFER_ARB,0); } }