Hi Sebastian,

On 20 January 2015 at 10:41, Robert Osfield <[email protected]>
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.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to