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

Erroneous guess about GL constants in bindAttribLocation index parameter #220

Closed
monfera opened this issue Jan 6, 2022 · 2 comments
Closed

Comments

@monfera
Copy link
Contributor

monfera commented Jan 6, 2022

image

Instead of numbers, values 2...6 are shown as GL primitives, rather than numbers

@JannikGM
Copy link
Contributor

The generic solution is to find the first matching enum for a number (but that is often incorrect).
You'll have to add explicit stringification similar to #212

Another solution could be to improve the stringifaction to only become active for GLenum

@sebavan
Copy link
Member

sebavan commented Jan 10, 2022

Another solution could be to improve the stringifaction to only become active for GLenum

This would be great indeed, would you mind doing a PR for it, or I ll add the targeted fix over the weekend ?

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

No branches or pull requests

3 participants