[PyOpenGL-Users] glGetString(GL_VERSION) err
Brought to you by:
mcfletch
From: famc2 <fa...@16...> - 2015-09-22 06:03:40
|
hello folks I want to get the version of OpenGL: from OpenGL.GL import glGetString, GL_VERSION glGetString(GL_VERSION) But I got error: =============================================================== Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\OpenGL\error.py", line 232, in glCheckErro r baseOperation = baseOperation, OpenGL.error.GLError: GLError( err = 1282, description = '\xce\xde\xd0\xa7\xb2\xd9\xd7\xf7', baseOperation = glGetString, cArguments = (GL_VERSION,) ) =============================================================== What's the problem? Thanks very much! |