From 2e611be9c909113ac691d91a78232f1fcdbf518c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 23 Jul 2012 08:15:57 +0000 Subject: [PATCH] Fixed 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 9220e8386..a946568d1 100644 --- a/src/osgPresentation/SlideShowConstructor.cpp +++ b/src/osgPresentation/SlideShowConstructor.cpp @@ -1089,7 +1089,7 @@ void SlideShowConstructor::addImage(const std::string& filename, const PositionD bool usedTextureRectangle = false; - osg::Geometry* pictureQuad = createTexturedQuadGeometry(image_pos, positionData.rotate, image_width, image_height, image, usedTextureRectangle); + osg::Geometry* pictureQuad = createTexturedQuadGeometry(image_pos, positionData.rotate, image_width, image_height, image.get(), usedTextureRectangle); osg::StateSet* pictureStateSet = pictureQuad->getOrCreateStateSet(); attachTexMat(pictureStateSet, imageData, s, t, usedTextureRectangle);