gentlegiantJGC 8de6846c79
Fix construction of GLContextAttrs (#1073)
* Fix construction of GLContextAttrs

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

* Tweaked OpenGL context construction

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.
2024-07-05 13:23:37 +01:00
..
2023-02-14 09:53:06 +00:00