Moved the moveToRootStateGraph(,) from RenderStage::drawImplemenation() to RenderBin::drawImplementation();

This commit is contained in:
Robert Osfield
2006-07-18 20:17:31 +00:00
parent 97dde14dcf
commit dfbc9d0441
3 changed files with 13 additions and 9 deletions

View File

@@ -1229,6 +1229,7 @@ void SceneView::draw()
// re apply the defalt OGL state.
_state->popAllStateSets();
_state->apply();
if (_state->getCheckForGLErrors()!=osg::State::NEVER_CHECK_GL_ERRORS)
{