Bart,

Thanks. That works. It'll probaly save me frustration for other calls, too.
Quoting Bart Botta <[EMAIL PROTECTED]>:

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

I can hardly complain for getting help, can I?

On Thu, Sep 25, 2008 at 4:29 PM,  <[EMAIL PROTECTED]> 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?

Possibly. A cursory check of the net for example code for gl-color-mask seems to
show about half the examples using GL_FALSE, and the other half using 0
(geez...). Another cursory check of the docs subdirectory shows... very little. (I was a bit worried that I hadn't RTFA, but FA doesn't seem to have much.)

Neil Gilmore
[EMAIL PROTECTED]
_______________________________________________
cl-opengl-devel mailing list
cl-opengl-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel

Reply via email to