[cl-opengl-devel] [patch] check-error fix, :no-error versus :zero

Andy Hefner ahefner at gmail.com
Mon May 26 04:46:51 UTC 2008


Enums :no-error and :zero are both defined with a value of zero. As it
happens, gl:get-error returns :zero, breaking the potentially handy
utility gl:check-error (which expects :no-error), causing it to signal
even when no error occured. The following patch resolves the issue by
eliminating :no-error and the one place that uses it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check-error-no-error.patch
Type: text/x-patch
Size: 259 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-opengl-devel/attachments/20080526/908de3d7/attachment.bin>


More information about the cl-opengl-devel mailing list