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:
commit
57a561f697
@ -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.
|
// 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
|
// set up clear masks/values
|
||||||
rtts->setClearDepth(camera.getClearDepth());
|
rtts->setClearDepth(camera.getClearDepth());
|
||||||
|
Loading…
Reference in New Issue
Block a user