Fixed effective leak in Program::PerContextProgram? caused by previously osg::State keeping a set of std::ref_ptr<Program::PerContextProgram?> without ever pruning this list.
The fix was to convert the osg::State to use C pointers for the set of applied PerContexProgram? objects, and use the osg::Oberver mechanism to avoid dangling pointers for being maintained in osg::State.
Powered by Trac 0.11
By Edgewall Software.
Copyright, 2007 OSG Community. Kindly hosted by AI2, Universidad Politecnica de Valencia, Spain. www.ai2.upv.es