Remove an unneeded const_cast

This commit is contained in:
scrawl
2016-08-14 19:30:55 +02:00
parent e9d6737ec4
commit 0b450a5113

View File

@@ -767,7 +767,7 @@ void GraphicsContext::removeCamera(osg::Camera* camera)
nitr != nodes.end();
++nitr)
{
const_cast<osg::Node*>(*nitr)->releaseGLObjects(_state.get());
(*nitr)->releaseGLObjects(_state.get());
}
// release the context of the any RenderingCache that the Camera has.