[osg-users] Drawable - recent commit causing problems

Glenn Waldron gwaldron at gmail.com
Thu Aug 30 05:17:36 PDT 2018

Hi Robert,
I pulled the latest OpenSceneGraph-3.6 branch and this change is causing
rendering artifacts in osgEarth:


I use Drawables that share the same StateSet. When the Drawable destructor
calls releaseGLObjects() directly, that shared StateSet also gets its
releaseGLObjects() function called and this causes ill effects on
still-active Drawables.

Other Node types don't do this (call releaseGLObjects from the DTOR) so I'm
wondering whether this was intentional, or whether this is exposing
something I'm doing wrong on my end.

Glenn Waldron / osgEarth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180830/24ce7700/attachment.html>

More information about the osg-users mailing list