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();