Added .get() to fix build

This commit is contained in:
Robert Osfield 2011-03-19 16:25:01 +00:00
parent 923b658e65
commit 11007a03ee

View File

@ -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();