Unified the osg::GraphicsThread::Operation and osg::GraphicsContext::Operation classes
as osg::GraphicsOperation. Unpdated parts of OSG depending upon these. Added a virtaul bool valid() method to osg::GraphicsContext to allow apps to test whether a valid graphis context has been created or not.
This commit is contained in:
@@ -168,10 +168,10 @@ void View::setUpViewAcrossAllScreens()
|
||||
}
|
||||
|
||||
// Draw operation, that does a draw on the scene graph.
|
||||
struct RenderingOperation : public osg::GraphicsContext::Operation
|
||||
struct RenderingOperation : public osg::GraphicsOperation
|
||||
{
|
||||
RenderingOperation(osgUtil::SceneView* sceneView, osgDB::DatabasePager* databasePager):
|
||||
osg::GraphicsContext::Operation("Render",true),
|
||||
osg::GraphicsOperation("Render",true),
|
||||
_sceneView(sceneView),
|
||||
_databasePager(databasePager)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user