What is the proper way to switch the osg::Program that an osg::StateSet is using? Is the StateSet's update callback the only way to do it? I tried doing it in the Camera's post draw callback, but I still get a segfault from the render thread that is still using the old osg::Program.
Thanks. Alex _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

