From 763ee7f086a3e9414ddc80d36fe80fa46f585b61 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 1 Apr 2003 11:53:34 +0000 Subject: [PATCH] Cleaned up the reset of the vertex arrays in osg::State. --- src/osgSim/LightPointDrawable.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgSim/LightPointDrawable.cpp b/src/osgSim/LightPointDrawable.cpp index d87798595..c4ce3e696 100644 --- a/src/osgSim/LightPointDrawable.cpp +++ b/src/osgSim/LightPointDrawable.cpp @@ -163,6 +163,7 @@ void LightPointDrawable::drawImplementation(osg::State& state) const state.haveAppliedAttribute(osg::StateAttribute::POINT); state.dirtyAllVertexArrays(); + state.disableAllVertexArrays(); // restore the state afterwards. state.apply();