Moved the set of GraphicsContext RenderingOperations into Viewer.

This commit is contained in:
Robert Osfield
2007-01-04 21:49:02 +00:00
parent fc061f7b15
commit 0985a06572
4 changed files with 92 additions and 79 deletions

View File

@@ -55,12 +55,9 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter
virtual void requestWarpPointer(float x,float y);
public:
void setUpRenderingSupport();
void assignSceneDataToCameras();
protected:
virtual ~View();

View File

@@ -94,6 +94,8 @@ class OSGVIEWER_EXPORT Viewer : public osgViewer::View
void startThreading();
void checkWindowStatus();
void setUpRenderingSupport();
bool _firstFrame;
bool _done;