Removed unneccessary parameter

This commit is contained in:
Robert Osfield
2016-09-02 19:26:20 +01:00
parent e11e45a2e3
commit 0ee65c9d2f
6 changed files with 8 additions and 8 deletions

View File

@@ -672,7 +672,7 @@ void Geometry::releaseGLObjects(State* state) const
}
VertexArrayState* Geometry::createVertexArrayState(RenderInfo& renderInfo, bool usingVBOs) const
VertexArrayState* Geometry::createVertexArrayState(RenderInfo& renderInfo) const
{
State& state = *renderInfo.getState();
@@ -768,7 +768,7 @@ void Geometry::compileGLObjects(RenderInfo& renderInfo) const
{
VertexArrayState* vas = 0;
_vertexArrayStateList[contextID] = vas = createVertexArrayState(renderInfo, true);
_vertexArrayStateList[contextID] = vas = createVertexArrayState(renderInfo);
State::SetCurrentVertexArrayStateProxy setVASProxy(state, vas);