Improved naming of createVertexArrayState(..) method

This commit is contained in:
Robert Osfield
2016-08-04 17:51:45 +01:00
parent 98344157c0
commit 97df15b205
4 changed files with 6 additions and 6 deletions

View File

@@ -663,7 +663,7 @@ void Geometry::releaseGLObjects(State* state) const
}
VertexArrayState* Geometry::setUpVertexArrayState(RenderInfo& renderInfo, bool usingVBOs) const
VertexArrayState* Geometry::createVertexArrayState(RenderInfo& renderInfo, bool usingVBOs) const
{
OSG_NOTICE<<"Creating new osg::VertexArrayState"<<std::endl;
State& state = *renderInfo.getState();
@@ -764,7 +764,7 @@ void Geometry::compileGLObjects(RenderInfo& renderInfo) const
{
VertexArrayState* vas = 0;
_vertexArrayStateList[contextID] = vas = setUpVertexArrayState(renderInfo, true);
_vertexArrayStateList[contextID] = vas = createVertexArrayState(renderInfo, true);
State::SetCurrentVertexArrayStateProxy setVASProxy(state, vas);