From 67df9af7d115c9fdb9189176b232b9bf9521f52e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 2 Aug 2004 15:56:18 +0000 Subject: [PATCH] Fixed warnings --- examples/osgphotoalbum/PhotoArchive.cpp | 2 +- src/osgProducer/OsgCameraGroup.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ); }