Added Camera::s/getClearAccum, s/getClearStencil and s/getClearDepth.

This commit is contained in:
Robert Osfield
2008-03-31 11:44:31 +00:00
parent 225e1957b3
commit 64f8631d9d
6 changed files with 99 additions and 26 deletions

View File

@@ -780,7 +780,10 @@ bool SceneView::cullStage(const osg::Matrixd& projection,const osg::Matrixd& mod
rendergraph->clean();
renderStage->setViewport(getViewport());
renderStage->setClearColor(getClearColor());
renderStage->setClearColor(_camera->getClearColor());
renderStage->setClearDepth(_camera->getClearDepth());
renderStage->setClearAccum(_camera->getClearAccum());
renderStage->setClearStencil(_camera->getClearStencil());
renderStage->setClearMask(_camera->getClearMask());
#if 1