It's a one line change against OSG 2.8.0 (see line 196). I've already tested the change, and confirmed it\u2019s fixing the crashes described above."

merged from svn trunk using:

svn merge -r 9797:9798  http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk/src/osg/State.cpp
This commit is contained in:
Robert Osfield
2009-02-19 16:36:56 +00:00
parent 7e75fa6a66
commit 8954964c32

View File

@@ -193,6 +193,7 @@ void State::reset()
++apitr)
{
(*apitr)->resetAppliedUniforms();
(*apitr)->removeObserver(this);
}
_appliedProgramObjectSet.clear();