comply with osg::BufferIndexBinding new design (a miss)

This commit is contained in:
Julien Valentin 2017-08-24 10:29:19 +02:00
parent d49f0d67af
commit 3de1ce062c

View File

@ -165,7 +165,7 @@ public:
val->_handles = new osg::UInt64Array();
val->_handles->resize(count*2,0);
val->_handles->setBufferObject(val->_sbbo.get());
val->_ssbb = new osg::UniformBufferBinding(0, val->_sbbo.get(), 0, sizeof(GLuint64)*count);
val->_ssbb = new osg::UniformBufferBinding(0, val->_handles.get(), 0, sizeof(GLuint64)*count);
return val;
}
BindlessBuffer& operator = (const BindlessBuffer& rhs){