[osg-users] Custom GraphicsContext Segmentation Fault when using Multithreading

Robert Osfield robert.osfield at gmail.com
Fri Apr 22 02:19:02 PDT 2016


On 22 April 2016 at 09:46, Sebastian Messerschmidt <
sebastian.messerschmidt at gmx.de> wrote:

> Hi Robert,
>
> He edited the original post.
>
> I've attached it for you.
>

Thanks Sebastian.  I went to the forum page but it didn't appear.  Do you
need to be logged in to see attachments?

I've had a quick look over the implementation, the only oddity I spotted
was call realizeImplementation() from the constructor.  This is redundant
as the viewer will call GraphicsContext::realize() automatically for you
when viewer.realize() is called.    None of the other GraphicsContext
implementations call realize in the constructor so see not reason why it
should be required in this instance.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160422/d6e26a4e/attachment-0003.htm>


More information about the osg-users mailing list