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

@@ -278,7 +278,7 @@ class OSG_EXPORT Drawable : public Node
*/
virtual void compileGLObjects(RenderInfo& renderInfo) const;
virtual VertexArrayState* createVertexArrayState(RenderInfo& renderInfo, bool usingVBOs) const;
virtual VertexArrayState* createVertexArrayState(RenderInfo& renderInfo) const;
/** Set whether to use a mutex to ensure ref() and unref() are thread safe.*/
@@ -509,7 +509,7 @@ inline void Drawable::draw(RenderInfo& renderInfo) const
VertexArrayState* vas = _vertexArrayStateList[contextID].get();
if (!vas)
{
_vertexArrayStateList[contextID] = vas = createVertexArrayState(renderInfo, true);
_vertexArrayStateList[contextID] = vas = createVertexArrayState(renderInfo);
}
else
{