Hi Julien,

I am doing the merge of the TextureBuffer changes and after merging
the changes to the examples I still get an error:

[ 73%] Building CXX object
examples/osgparticleeffects/CMakeFiles/example_osgparticleeffects.dir/osgparticleeffects.o
/home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp:
In member function ‘virtual void DrawArraysIndirect::draw(osg::State&,
bool) const’:
/home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp:26:14:
error: ‘class osg::TextureBuffer’ has no member named ‘bindBufferAs’
     _buffer->bindBufferAs( state.getContextID(), GL_DRAW_INDIRECT_BUFFER );
              ^
/home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp:39:14:
error: ‘class osg::TextureBuffer’ has no member named ‘unbindBufferAs’
     _buffer->unbindBufferAs( state.getContextID(), GL_DRAW_INDIRECT_BUFFER );
              ^
/home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp:
In member function ‘virtual void
MultiDrawArraysIndirect::draw(osg::State&, bool) const’:
/home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp:46:14:
error: ‘class osg::TextureBuffer’ has no member named ‘bindBufferAs’
     _buffer->bindBufferAs( state.getContextID(), GL_DRAW_INDIRECT_BUFFER );
              ^
/home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp:50:14:
error: ‘class osg::TextureBuffer’ has no member named ‘unbindBufferAs’
     _buffer->unbindBufferAs( state.getContextID(), GL_DRAW_INDIRECT_BUFFER );
              ^

You didn't include a DrawIndirectPrimitiveSet.cpp, do you modify it locally?

Robert
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to