Added realize() and isRealized() methods to osg::GraphicsContext.

Added osgcamera example that uses osg::GraphicsContext to create the required
window for rendering too, will eventually use osg::CameraNode to replace usage
of osgUtil::SceneView.
This commit is contained in:
Robert Osfield
2005-08-16 13:29:07 +00:00
parent 75987a045d
commit e8fc5248fa
8 changed files with 182 additions and 10 deletions

View File

@@ -1302,6 +1302,8 @@ void CullVisitor::apply(osg::CameraNode& camera)
}
rtts->setGraphicsContext(context.get());
context->realize();
}
}