diff --git a/src/osgPlugins/cfg/ReaderWriterCFG.cpp b/src/osgPlugins/cfg/ReaderWriterCFG.cpp index 14e4af718..0223c42fa 100644 --- a/src/osgPlugins/cfg/ReaderWriterCFG.cpp +++ b/src/osgPlugins/cfg/ReaderWriterCFG.cpp @@ -65,13 +65,13 @@ static osg::GraphicsContext::Traits* buildTrait(RenderSurface& rs) case(VisualChooser::AccumBlueSize): break; // no present mapping case(VisualChooser::AccumAlphaSize): break; // no present mapping case(VisualChooser::Samples): traits->samples = it->_parameter; break; - case(VisualChooser::SampleBuffers): traits->sampleBuffers = it->_parameter; break; + case(VisualChooser::SampleBuffers): traits->sampleBuffers = 1; break; } } OSG_NOTICE<<"ReaderWriterCFG buildTrait traits->depth="<depth<samples="<samples<sampleBuffers="<sampleBuffers<hostName = rs.getHostName();