Am 20.01.2015 um 12:28 schrieb Robert Osfield:
Hi Sebastian,

On 20 January 2015 at 10:41, Robert Osfield <robert.osfi...@gmail.com <mailto:robert.osfi...@gmail.com>> wrote:


    I will now focus on why the stats is causing a crash as it's
something I can reliably recreate and get a stack trace from. Fixing this might address or reveal what other things are going amiss.


The issue with the crash at my end look to be related to the SceneView constructing it's own osg::State that is then replaced by the one that the GraphicsWindow creates, but the destructor in the osg::State was always resetting the GLExtensions::Set() back to zero regardless of whether this osg::State was just a tempory one or not.

I have have add a check into the osg::State destructor to avoid calling GLExtensions::Set() if the local State::_glExtensions pointer is NULL. This fixes the crash and is now checked into svn/trunk. I'm still get bad font for the stats though, and the tiles still appear inappropriately in your dataset. Will keep investigating.
Ok. Good that you can reproduce it.
If I can provide any details/additional test results, let me know.

Robert.


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to