Cleaned up the reset of the vertex arrays in osg::State.

This commit is contained in:
Robert Osfield
2003-04-01 11:53:34 +00:00
parent 3975fc9b01
commit 763ee7f086

View File

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