New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new enum-group problems #92
Comments
:UNSIGNED-INT-24-8 is not defined as a keyword for enum type #<CFFI::FOREIGN-ENUM CL-OPENGL-BINDINGS::PIXEL-TYPE> calling glTexImage2D |
from #93: in
also check |
Adding error details as requested in #lispgames (hoping I understood the request correctly):
Expanding the macro (but not sure I'm doing this correctly, so any guidance appreciated):
Noticed this comment: Possible solutionReplacing |
Gave up on the new enum groups in order to get cl-opengl development moving again, so closing this. (Didn't have enough energy to get the gl spec changes upstream, and the more specific enum types seemed to cause more problems than they helped anyway) |
todo list:
:framebuffer-ext
inFRAMEBUFFER-ATTACHMENT
:RENDERBUFFER-EXT
inRENDERBUFFER-TARGET
:DEPTH-COMPONENT24
inINTERNAL-FORMAT
:MAX-TEXTURE-MAX-ANISOTROPY-EXT
inGET-PNAME
gl:get*
in general; Unknown CFFI type CL-OPENGL-BINDINGS::MAPBUFFERUSAGEMASK
PIXEL-TYPE
::UNSIGNED-INT-24-8
:float-32-unsigned-int-24-8-rev
:UNSIGNED-INT-8-8-8-8-REV
:UNSIGNED-INT-2-10-10-10-REV
:unsigned-int-5-9-9-9-rev
:DEPTH-STENCIL-ATTACHMENT
inFRAMEBUFFER-ATTACHMENT
things that need verified as either cl-opengl bugs, or problems with new enough groups in gl.xml:
:FRAMEBUFFER-EXT is not defined as a keyword for enum type #<CFFI::FOREIGN-ENUM CL-OPENGL-BINDINGS::FRAMEBUFFER-TARGET>.
(%GL:BIND-FRAMEBUFFER-EXT :FRAMEBUFFER-EXT 1)
(%GL:FRAMEBUFFER-TEXTURE-2D-EXT :FRAMEBUFFER-EXT :COLOR-ATTACHMENT0-EXT :TEXTURE-2D 1 0)
(gl:framebuffer-renderbuffer-ext :framebuffer-ext :depth-attachment-ext :renderbuffer-ext depthbuffer))
:RENDERBUFFER-EXT is not defined as a keyword for enum type #<CFFI::FOREIGN-ENUM CL-OPENGL-BINDINGS::RENDERBUFFER-TARGET>.
(CL-OPENGL-BINDINGS:BIND-RENDERBUFFER-EXT :RENDERBUFFER-EXT 1)
(gl:renderbuffer-storage-ext :renderbuffer-ext :depth-component24 512 512)
:DEPTH-COMPONENT24 is not defined as a keyword for enum type #<CFFI::FOREIGN-ENUM CL-OPENGL-BINDINGS::INTERNAL-FORMAT>.
(gl:renderbuffer-storage-ext :renderbuffer-ext :depth-component24 512 512)
`:MAX-TEXTURE-MAX-ANISOTROPY-EXT is not defined as a keyword for enum type #<CFFI::FOREIGN-ENUM CL-OPENGL-BINDINGS::GET-PNAME>.)
(CL-OPENGL:GET-FLOAT :MAX-TEXTURE-MAX-ANISOTROPY-EXT 1)
The text was updated successfully, but these errors were encountered: