Fixed unused parameter warning.

This commit is contained in:
Robert Osfield
2016-06-08 10:42:00 +01:00
parent 782e867a7c
commit 1d37501262
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ static osg::GraphicsContext::Traits* buildTrait(RenderSurface& rs)
return traits;
}
static osgViewer::View* load(const std::string& file, const osgDB::ReaderWriter::Options* option)
static osgViewer::View* load(const std::string& file, const osgDB::ReaderWriter::Options* /*option*/)
{
osg::ref_ptr<CameraConfig> config = new CameraConfig;
//std::cout << "Parse file " << file << std::endl;

View File

@@ -258,7 +258,7 @@ int RenderSurface::getScreenNum( void ) const
return _screen;
}
void RenderSurface::setWindowRectangle( int x, int y, unsigned int width, unsigned int height, bool resize)
void RenderSurface::setWindowRectangle( int x, int y, unsigned int width, unsigned int height, bool /*resize*/)
{
if( _useCustomFullScreen )
{