go-gl/gl — pull request #77 by jteeuwen (2012-10-19 04:02:59+00:00)
Title: Public API changes.

This patch implements numerous API changes as discussed in issue #76.

These all involve functions which take slices and expect them
to be of a fixed size. These have been changed to accept a
pointer to a fixed-size array. This prevents possible memory
corruptions, while ensuring that type and capacity checks are
kept at compile-time, instead of run-time.

As mentioned in issue #76, not all functions accepting slices qualify
for this change. Some of them expect variable-sized slices,
depending on the value of other parameters. These retain their
runtime bounds-checks and should probably be revisited at some point.

A number of functions which contained nothing but
`panic("Unimplemented")`, have now been implemented.

It should be noted that this patch will very likely break a lot
of code out there. But in the interest of getting the go-gl
tool set to a stable and useful state, we deemed this worth doing.