Hi all,
I'm having problems using the function glGenVertexArrays despite the fact
that I've correctly imported OpenGL.GL.ARB.vertex_array_object. Here's the
output I get from my (simple) program:
Traceback (most recent call last):
File "cube.py", line 24, in <module>
batch.begin(GL_TRIANGLES, 36)
File "cube.py", line 20, in begin
glGenVertexArrays(1, self.vertexArrayObject)
File "c:\Python26\lib\site-packages\OpenGL\platform\baseplatform.py", line
340
, in __call__
self.__name__, self.__name__,
OpenGL.error.NullFunctionError: Attempt to call an undefined function
glGenVerte
xArrays, check for bool(glGenVertexArrays) before calling
If it makes any difference, I'm on Windows 7. Any ideas?
Thank you,
Jon Nye
|