3b/cl-opengl

couldn't find function glEnable in 2013-08-13 quicklisp

mickbeaver opened this issue · 1 comments

Hello,

I am running on Windows 7 x64 with an Nvidia card using Clozure Common Lisp 1.9 64-bit. When trying to run cl-glut-examples:gears, I am getting the following error:

? (cl-glut-examples:gears)

Error: Couldn't find function glEnable
While executing: CL-OPENGL-BINDINGS::GENERATE-GL-FUNCTION, in process listener(1).
Type :POP to abort, :R for a list of available restarts.
Type :? for other options.

I do not have any issues with the 2013-07-22 quicklisp dist. Any ideas on how I would begin to debug this? Please let me know if you need more information.

Thank you,
Mick

3b commented

Oops, looks like a bug in the new binding generator, it should be using defglfun for gl 1.0 and 1.1 functions like glEnable, not defglextfun. Looks like it gets confused when they are also in gles2.