Fixed "unreferenced formal parameter" warnings

This commit is contained in:
Robert Osfield 2016-06-07 08:53:42 +01:00
parent 15e9484ff2
commit 10e27681dd
2 changed files with 4 additions and 4 deletions

View File

@ -61,11 +61,11 @@ class OSG_EXPORT GraphicsObjectManager : public osg::Referenced
unsigned int getContextID() const { return _contextID; } unsigned int getContextID() const { return _contextID; }
/** Signal that a new frame has started.*/ /** Signal that a new frame has started.*/
virtual void newFrame(osg::FrameStamp* fs) {} virtual void newFrame(osg::FrameStamp* /*fs*/) {}
virtual void resetStats() {} virtual void resetStats() {}
virtual void reportStats(std::ostream& out) {} virtual void reportStats(std::ostream& /*out*/) {}
virtual void recomputeStats(std::ostream& out) const {} virtual void recomputeStats(std::ostream& /*out*/) const {}
/** Flush all deleted OpenGL objects within the specified availableTime. /** Flush all deleted OpenGL objects within the specified availableTime.

View File

@ -206,7 +206,7 @@ protected:
*/ */
osg::observer_ptr< ViewDependentShadowTechnique > _st; osg::observer_ptr< ViewDependentShadowTechnique > _st;
virtual void resizeGLObjectBuffers(unsigned int maxSize) {} virtual void resizeGLObjectBuffers(unsigned int /*maxSize*/) {}
/** If State is non-zero, this function releases any associated OpenGL objects for /** If State is non-zero, this function releases any associated OpenGL objects for
* the specified graphics context. Otherwise, releases OpenGL objects * the specified graphics context. Otherwise, releases OpenGL objects