Merge pull request #550 from pelicanmapping/fix-implicit-ref-ptr

Fix for compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF
This commit is contained in:
OpenSceneGraph git repository 2018-05-23 14:15:54 +01:00 committed by GitHub
commit 57a561f697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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