Cleaned up the reset of the vertex arrays in osg::State.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user