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.
diff -rN old-cl-opengl/gl/constants.lisp new-cl-opengl/gl/constants.lisp 1560d1559 < (:no-error #x0) diff -rN old-cl-opengl/gl/opengl.lisp new-cl-opengl/gl/opengl.lisp 48c48 < (unless (eql error-code :no-error) --- > (unless (eql error-code :zero)
_______________________________________________ cl-opengl-devel mailing list cl-opengl-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel