Added extra methods WindowSystemInterface for controlling frame rate and resolution, and adde useCursor flag.
This commit is contained in:
@@ -573,6 +573,8 @@ void CompositeViewer::setUpRenderingSupport()
|
||||
sceneView->setSceneData(view->getSceneData());
|
||||
sceneView->setFrameStamp(frameStamp);
|
||||
|
||||
if (dp) dp->setCompileGLObjectsForContextID(view->getCamera()->getGraphicsContext()->getState()->getContextID(), true);
|
||||
|
||||
view->getCamera()->getGraphicsContext()->add(new CompositeViewerRenderingOperation(sceneView, dp));
|
||||
}
|
||||
|
||||
@@ -592,6 +594,8 @@ void CompositeViewer::setUpRenderingSupport()
|
||||
sceneView->setSceneData(view->getSceneData());
|
||||
sceneView->setFrameStamp(frameStamp);
|
||||
|
||||
if (dp) dp->setCompileGLObjectsForContextID(slave._camera->getGraphicsContext()->getState()->getContextID(), true);
|
||||
|
||||
slave._camera->getGraphicsContext()->add(new CompositeViewerRenderingOperation(sceneView, dp));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user