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

Fix construction of GLContextAttrs #1073

Merged
merged 2 commits into from
Jul 5, 2024
Merged

Fix construction of GLContextAttrs #1073

merged 2 commits into from
Jul 5, 2024

Conversation

gentlegiantJGC
Copy link
Member

EndList returns None. I thought it returned self like the rest of the methods.

Fixes #1056

EndList returns None. I thought it returned self like the rest of the methods.
The constructors now return the context if everything is valid.
If not valid it returns None.
The OpenGL 2.1 constructor now checks if GL_ARB_explicit_attrib_location is supported by the system.
If the system does not support it an error will be raised at construction rather than when drawing.
@gentlegiantJGC gentlegiantJGC merged commit 8de6846 into 0.10 Jul 5, 2024
3 checks passed
@gentlegiantJGC gentlegiantJGC deleted the fix-gl-attrs branch July 5, 2024 12:23
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 this pull request may close these issues.

[Bug Report] Resource Pack isn't loading on Mac
1 participant