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
{

View File

@@ -230,7 +230,7 @@ class OSG_EXPORT Geometry : public Drawable
bool _containsDeprecatedData;
virtual VertexArrayState* createVertexArrayState(RenderInfo& renderInfo, bool usingVBOs) const;
virtual VertexArrayState* createVertexArrayState(RenderInfo& renderInfo) const;
public:

View File

@@ -265,7 +265,7 @@ namespace osgParticle
* for all graphics contexts. */
virtual void releaseGLObjects(osg::State* state=0) const;
virtual osg::VertexArrayState* createVertexArrayState(osg::RenderInfo& renderInfo, bool usingVBOs) const;
virtual osg::VertexArrayState* createVertexArrayState(osg::RenderInfo& renderInfo) const;
void adjustEstimatedMaxNumOfParticles(int delta) { _estimatedMaxNumOfParticles += delta; }