ekmett/gl

Missing type synonyms

Closed this issue · 1 comments

I just asked about this in #haskell-game, and learned that the only type synonyms defined are those which appear in function definitions. I think this is confusing, because the spec and OpenGL documentation certainly mention types like GLhalf (actually the only one I am aware of right now, but there may be others), even though no function explicitly manipulates them. For at least documentation purposes, if not for convenience as well, I think it would make sense to define these types.

Heh. That appears to be the only one. GLhalf and GLhalfARB were missing because they weren't used.

All other types actually occur somewhere in the spec.