diff --git a/examples/osgphotoalbum/PhotoArchive.cpp b/examples/osgphotoalbum/PhotoArchive.cpp index b0c8da80c..84d8c85de 100644 --- a/examples/osgphotoalbum/PhotoArchive.cpp +++ b/examples/osgphotoalbum/PhotoArchive.cpp @@ -150,7 +150,7 @@ osg::Image* PhotoArchive::readImage(const std::string& filename, return NULL; } -void PhotoArchive::buildArchive(const std::string& filename, const FileNameList& imageList, unsigned int thumbnailSize, unsigned int maximumSize, bool compressed) +void PhotoArchive::buildArchive(const std::string& filename, const FileNameList& imageList, unsigned int thumbnailSize, unsigned int maximumSize, bool /*compressed*/) { PhotoIndexList photoIndex; diff --git a/src/osgProducer/OsgCameraGroup.cpp b/src/osgProducer/OsgCameraGroup.cpp index 520600e04..fbb2b7d32 100644 --- a/src/osgProducer/OsgCameraGroup.cpp +++ b/src/osgProducer/OsgCameraGroup.cpp @@ -295,7 +295,7 @@ void OsgCameraGroup::setUpSceneViewsWithData() sv->setFrameStamp( _frameStamp.get() ); sv->setGlobalStateSet( _global_stateset.get() ); - sv->setBackgroundColor( _background_color ); + sv->setClearColor( _background_color ); sv->setLODScale( _LODScale ); sv->setFusionDistance( _fusionDistanceMode, _fusionDistanceValue ); }