diff --git a/src/osg/Geometry.cpp b/src/osg/Geometry.cpp index b195aa40d..6953fe41e 100644 --- a/src/osg/Geometry.cpp +++ b/src/osg/Geometry.cpp @@ -1166,6 +1166,10 @@ void Geometry::drawImplementation(RenderInfo& renderInfo) const } } } + + // unbind the VBO's if any are used. + state.unbindVertexBufferObject(); + state.unbindElementBufferObject(); } class AttributeFunctorArrayVisitor : public ArrayVisitor