Hi Ulrich and Robert I implemented the changes from the previous suggestions. Please find attached another version of the shader class. My first suggestion is not contained in this fix.
Due to the automatic destruction of the std::vector the delete call some lines later becomes obsolete. @Peter : Thanks for the hint with resize/reserve I have tested the fix in a gles2 environment and it works for me. On my platform I have to use binary shaders as source shaders are not supported at all. Cheers, Johannes ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37210#37210 Attachments: http://forum.openscenegraph.org//files/shader_137.zip _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
