Fixed unused parameter warning.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user