Removed the double call to the camera post draw callback.

This commit is contained in:
Robert Osfield
2005-11-01 19:31:30 +00:00
parent 12bd1f7d4b
commit 2584d43393

View File

@@ -543,12 +543,6 @@ void RenderStage::drawInner(osg::State& state,RenderLeaf*& previous, bool& doCop
}
if (_camera && _camera->getPostDrawCallback())
{
// if we have a camera with a post draw callback invoke it.
(*(_camera->getPostDrawCallback()))(*_camera);
}
if (fbo_supported)
{
// switch of the frame buffer object