Fixed unused parameter warning.

This commit is contained in:
Robert Osfield 2016-06-08 11:40:51 +01:00
parent 34ef8e5f46
commit 82cd2d4515

View File

@ -321,7 +321,7 @@ void PosterPrinter::frame( const osg::FrameStamp* fs, osg::Node* node )
} }
} }
bool PosterPrinter::addCullCallbacks( const osg::FrameStamp* fs, osg::Node* node ) bool PosterPrinter::addCullCallbacks( const osg::FrameStamp* fs, osg::Node* /*node*/ )
{ {
if ( !_visitor->inQueue() || done() ) if ( !_visitor->inQueue() || done() )
return false; return false;
@ -335,7 +335,7 @@ bool PosterPrinter::addCullCallbacks( const osg::FrameStamp* fs, osg::Node* node
return true; return true;
} }
void PosterPrinter::removeCullCallbacks( osg::Node* node ) void PosterPrinter::removeCullCallbacks( osg::Node* /*node*/ )
{ {
_visitor->setAddingCallbacks( false ); _visitor->setAddingCallbacks( false );
_camera->accept( *_visitor ); _camera->accept( *_visitor );