Skip to content
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

cffi warnings about struct types when using GL-ARRAYs #41

Closed
3b opened this issue Jul 30, 2013 · 1 comment
Closed

cffi warnings about struct types when using GL-ARRAYs #41

3b opened this issue Jul 30, 2013 · 1 comment

Comments

@3b
Copy link
Owner

3b commented Jul 30, 2013

for example running (cl-glut-examples:misc-opengl-array) prints a bunch of warnings like

STYLE-WARNING:
   bare references to struct types are deprecated. Please use (:POINTER
                                                               (:STRUCT
                                                                CL-GLUT-EXAMPLES::POSITION-COLOR)) or (:STRUCT
                                                                                                       CL-GLUT-EXAMPLES::POSITION-COLOR) instead.
@3b
Copy link
Owner Author

3b commented Jul 30, 2013

see also issue #27.

tomscii pushed a commit to tomscii/cl-opengl that referenced this issue Feb 1, 2023
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 3b#41
3b pushed a commit that referenced this issue Dec 21, 2023
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 3b closed this as completed in 5803810 May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant