Commits

rob...@16af8721-9629-0410-8352-f15c8da7e697  committed d1d15df Draft

Fixed build

  • Participants
  • Parent commits b42c51a

Comments (0)

Files changed (1)

File src/osgPresentation/SlideShowConstructor.cpp

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