Hi Paul,
Since the constructor is copying the indices rather than taking
ownership of them then it is more appropriate to use const GLuint*.
I've updated the relevant code and am now waiting on a clean build to
make sure that everything builds cleanly.
Robert.
On Wed, Feb 13, 2008 at 8:37 PM,
It all works fine, now checked in.
Thanks, I think that makes more sense.
-Paul
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
I just noticed the following PrimitiveSet constructor...
DrawElementsUInt(GLenum mode,unsigned int no,GLuint* ptr) :
The first parameter is the primitive type, the second is the number of
element indices, and the third is a pointer to an array of indices.
Shouldn't the third parameter be
3 matches
Mail list logo