Allocate GL objects into Vecs, then slice for return …
Since rust-lang/rust@7d3b0bf we can't do this with primitive vectors