Hi,

I think adding a block test 
if(pcp != state.getLastAppliedProgramObject()) in Program.cpp l516 
would avoid unnecessary calls to glUseProgram

Thank you!

Cheers,
Julien

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67878#67878





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

Reply via email to