We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
lib/shader.c: In function ‘shader_init’: lib/shader.c:23:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
^ lib/shader.c:102:38: note: in expansion of macro ‘BUFFER_OFFSET’ { "position", 0, 2, sizeof(float), BUFFER_OFFSET(vp.vx) },
My gcc verion is gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
lib/shader.c: In function ‘shader_init’:
lib/shader.c:23:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
define BUFFER_OFFSET(f) ((int)&(((struct vertex *)NULL)->f))
^
lib/shader.c:102:38: note: in expansion of macro ‘BUFFER_OFFSET’
{ "position", 0, 2, sizeof(float), BUFFER_OFFSET(vp.vx) },
My gcc verion is gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
The text was updated successfully, but these errors were encountered: