<div dir="ltr"><div class="gmail_extra">On Wed, Jan 16, 2013 at 11:22 PM, Thiago Negri <span dir="ltr">&lt;<a href="mailto:evohunz@gmail.com" target="_blank">evohunz@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>The C spec allows the use of GLboolean values where GLenums are expected.<br>

</div><div></div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra" style>Some fixes off the top of my head (caveats apply):</div><br>* define a lift :: GLboolean -&gt; GLenum</div><div class="gmail_extra">

* use a typeclass GLenumlike</div><div class="gmail_extra">* if there aren&#39;t too many of them, roll a GLboolean specific function for every one taking GLenum</div><div class="gmail_extra"><br clear="all"><div>-- Kim-Ee</div>


</div></div>