We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c99b642 commit 5534b39Copy full SHA for 5534b39
pygly/gl.py
@@ -59,7 +59,7 @@ def _extract_version(version):
59
# there can be a 3rd version
60
# split full stops and spaces and take the first 2 results
61
versions = re.split( r'[\.\s\-]', version )
62
- return versions[ 0 ], versions[ 1 ]
+ return int(versions[0]), int(versions[1])
63
64
def gl_version():
65
"""Returns the current OpenGL version string as specified by the
0 commit comments