[cl-opengl-devel] Trouble using gl:color-mask.

Bart Botta 00003b at gmail.com
Fri Sep 26 12:05:21 UTC 2008


(oops, forgot to send to the list, sorry for duplicates)

On Thu, Sep 25, 2008 at 4:29 PM,  <raito at raito.com> wrote:

>  (gl:color-mask :false :false :false :false)

cl-opengl uses common lisp "generalized booleans" (where anything
except NIL means true) instead of :true or :false most places, so the
following should do what you want :

 (gl:color-mask nil nil nil nil)

Took me a bit to notice the problem though, so possibly we should
support :false as meaning GL_FALSE as well?

---
-b-



More information about the cl-opengl-devel mailing list