Fixed crash on exit issues with osgFX, osgParticle, osgSim and the osgforest example
This commit is contained in:
@@ -385,6 +385,8 @@ QueryGeometry::getNumPixels( const osg::Camera* cam )
|
||||
void
|
||||
QueryGeometry::releaseGLObjects( osg::State* state ) const
|
||||
{
|
||||
Geometry::releaseGLObjects(state);
|
||||
|
||||
if (!state)
|
||||
{
|
||||
// delete all query IDs for all contexts.
|
||||
|
||||
Reference in New Issue
Block a user