Small fixes for Cg util and GlBuffer compatibility.