Uncommented fix for returning to non-stereo from stereo to get color mask

back to normal.
This commit is contained in:
Don BURNS
2002-12-16 00:33:48 +00:00
parent a262a9aee5
commit 22ada7ee6b

View File

@@ -712,9 +712,9 @@ void SceneView::draw()
else
{
_globalState->setAttribute(_viewport.get());
// osg::ref_ptr<osg::ColorMask> cmask = osgNew osg::ColorMask;
// cmask->setMask(true,true,true,true);
// _globalState->setAttribute(cmask.get());
osg::ref_ptr<osg::ColorMask> cmask = osgNew osg::ColorMask;
cmask->setMask(true,true,true,true);
_globalState->setAttribute(cmask.get());
// bog standard draw.
_renderStage->drawPreRenderStages(*_state,previous);