Fix for compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF

This commit is contained in:
gwaldron 2018-05-22 12:02:11 -04:00
parent 1b56fc1c00
commit 633e0aa20b

View File

@ -1650,7 +1650,7 @@ void CullVisitor::apply(osg::Camera& camera)
}
// assign the state graph to the RenderStage to ensure it remains in memory for the draw traversal.
rtts->setStateGraph(_rootStateGraph);
rtts->setStateGraph(_rootStateGraph.get());
// set up clear masks/values
rtts->setClearDepth(camera.getClearDepth());