It is crashing in the glDrawElements call, which I can't step in to. All the data passed in looks valid in the debugger.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ulrich Hertlein Sent: Thursday, September 13, 2012 1:30 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Using glDrawElements causes crash with osg::Stats Hi Karl, On 12/09/12 22:28, Cary, Karl A. wrote: > Alright so I adjusted my code to do everything through the osg::State, > including trying the osg::State's glDrawElementsInstanced instead of > the normal GL glDrawElements, and I am still having the same issue. It > still works normally but crashes when I enable stats. Is there a call > I need to make that I am missing? Here is the adjusted code: Debugger? Having a stack trace saves a lot of guesswork and makes up for a lot of missing information. Cheers, /ulrich _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

