3b / cl-opengl

cl-opengl is a set of CFFI bindings to the OpenGL, GLU and GLUT APIs.
http://common-lisp.net/project/cl-opengl/
Other
279 stars 59 forks source link

Fix CFFI warnings of deprecated usage of bare references to structs #107

Closed tomscii closed 6 months ago

tomscii commented 1 year ago

As a consequence, alloc-gl-array now takes proper cffi struct types as well as primitive types. Therefore, one has to write: (gl:alloc-gl-array '(:struct position-color) 5) instead of (gl:alloc-gl-array 'position-color 5)

Closes #41

3b commented 6 months ago

merged manually