Hi Robert;

I have realized that when using --shader option in osg2cpp it parses shader
file in cpp but it add unneccessary endline sign(\n) every line's end.
I think every shaderSource.substr(startOfLine,endOfLine-startOfLine) command
should be
                   shaderSource.substr(startOfLine,endOfLine-startOfLine-1)

Regards.

-- 
Ümit Uzun
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to