TINYGL: removed unnecessary copy in a function.