From 11007a03ee766e758c0c3107a009f10051fbd74b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 19 Mar 2011 16:25:01 +0000 Subject: [PATCH] Added .get() to fix build --- src/osgPresentation/SlideShowConstructor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPresentation/SlideShowConstructor.cpp b/src/osgPresentation/SlideShowConstructor.cpp index cbb99bdaa..6c0ed268e 100644 --- a/src/osgPresentation/SlideShowConstructor.cpp +++ b/src/osgPresentation/SlideShowConstructor.cpp @@ -149,7 +149,7 @@ bool HUDTransform::computeWorldToLocalMatrix(osg::Matrix& matrix,osg::NodeVisito SlideShowConstructor::SlideShowConstructor(osgDB::Options* options): _options(options) { - osg::DisplaySettings* ds = osg::DisplaySettings::instance(); + const osg::DisplaySettings* ds = osg::DisplaySettings::instance().get(); _slideHeight = ds->getScreenHeight(); _slideWidth = ds->getScreenWidth();