comply with osg::BufferIndexBinding new design (a miss)
This commit is contained in:
parent
d49f0d67af
commit
3de1ce062c
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user