Hi Robert,

I wrote some weeks ago that we have a bug once we added a 2nd context
(fullscreen). Once we add this we get a new object
osg::Program::PerContextProgram appended to the _pcpList, which stores the
program it's self. Once we remove the fullscreen context before the program
exits, it stills runs ok, but once we close the application it crash,
because the program is no longer avaible, removed to early by another part.
so we tested and check against memory leaks, no problem. works fine, and all
created program object gets removed also the osg::Program::PerContextProgram
.

                /** Pointer to our parent Program */
                //const Program* _program;
                osg::ref_ptr<const Program> _program;

/adrian

-- 
********************************************
Adrian Egli

Attachment: Program
Description: Binary data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to