Fix for compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF
This commit is contained in:
parent
1b56fc1c00
commit
633e0aa20b
@ -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