Build fixes with ref_ptr<> autoconversion disabled

This commit is contained in:
Robert Osfield
2017-10-19 11:57:53 +01:00
parent 3c6f569360
commit 068f47d91f
5 changed files with 10 additions and 10 deletions

View File

@@ -773,7 +773,7 @@ void ComputeNode::initComputingSetup()
_dataArray->setBufferObject(_ssbo.get());
_ssbb = new osg::ShaderStorageBufferBinding(0, _dataArray, 0, blockSize);
_ssbb = new osg::ShaderStorageBufferBinding(0, _dataArray.get(), 0, blockSize);
statesetComputation->setAttributeAndModes(_ssbb.get(), osg::StateAttribute::ON);