Removed unneccessary parameter
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user