Hi Chris, You change is now merged and submitted to SVN.
I may have been a bit short yesterday, I was snowed under with a backlog of submissions, as I was trying to get you quick feedback to try and help you on the way to tracing the actual problem in your app. The original code in question has been in place for many years without problems, so the likelihood was that the problem lay in the way you were trying to use the OSG, and this type of error is typically related to not having a valid graphics context current. The only other explanation if you do have a valid graphics context then either your GLU or GL library are buggy as according to docs for gluErroString it only returns null on invalid error codes. Which ever way you roll it, the original crash was just a symptom of problems elsewhere outwith the OSG. Robert. On Fri, Sep 19, 2008 at 10:37 PM, Chris Denham <[EMAIL PROTECTED]> wrote: > Hi Robert, > Sorry for making a mountain out of a mole hill with this little point. > I have the utmost respect for your wisdom and advise regarding OSG and > OpenGL. > If you say so, I totally accept there is nothing OSG can do to prevent > things "going down in flames"... eventually. > However, as a point of principle, I couldn't swallow the belittlement of my > suggestion for a useful place to fit a smoke alarm. > But I'll get over it. ;-) > Regards. > Chris. > >> Date: Fri, 19 Sep 2008 20:14:16 +0100 >> From: "Robert Osfield" <[EMAIL PROTECTED]> >> Subject: Re: [osg-submissions] SceneView OpenGL error trap succeptable >> tonull pointer exception in OSG2.6. >> To: "OpenSceneGraph Submissions" >> <[email protected]> >> Message-ID: >> <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> On Fri, Sep 19, 2008 at 7:47 PM, Tomlinson, Gordon >> <[EMAIL PROTECTED]> wrote: >>> >>> I have to strongly agree with Chris here >>> >>> The situation should be handled gracefully, OSG should not be brining my >>> app down with a crash at any point. >> >> If you don't have a valid graphics context then any OpenGL code is >> going to go down in flames eventually - there is absolutely nothing >> the OSG can do to prevent this. >> >> I don't have a problem with Chris submission, it's the premise that >> this that this is really going to help. >> >> Robert. >> >> > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
