Removed resetting of the pointer state.
This commit is contained in:
parent
83f73df814
commit
98344157c0
@ -648,17 +648,14 @@ void Drawable::draw(RenderInfo& renderInfo) const
|
||||
vas->setRequiresSetArrays(getDataVariance()==osg::Object::DYNAMIC);
|
||||
}
|
||||
|
||||
if (vas->getRequiresSetArrays())
|
||||
{
|
||||
vas->resetBufferObjectPointers();
|
||||
}
|
||||
|
||||
State::SetCurrentVertexArrayStateProxy setVASProxy(state, vas);
|
||||
|
||||
vas->bindVertexArrayObject();
|
||||
|
||||
drawInner(renderInfo);
|
||||
|
||||
// vas->setRequiresSetArrays(getDataVariance()==osg::Object::DYNAMIC);
|
||||
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user