On Wed, Jan 16, 2013 at 11:22 PM, Thiago Negri <evohunz@gmail.com> wrote:
The C spec allows the use of GLboolean values where GLenums are expected.

Some fixes off the top of my head (caveats apply):

* define a lift :: GLboolean -> GLenum
* use a typeclass GLenumlike
* if there aren't too many of them, roll a GLboolean specific function for every one taking GLenum

-- Kim-Ee