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 const? I'm sure the constructor isn't going to modify that data, so at a conceptual level, it should be const. However, I didn't dig deep enough into the layers of templates and derived classes to determine if it needs to be non-const for some other reason. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com <http://www.skew-matrix.com/> 303 859 9466 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

