I'm attempting to follow along with the same tutorial as the author of the question here. Unfortunately, when I try to run the example code at the bottom of that page, I get the following error:
Traceback (most recent call last):
File "C:\Users\Matt\workspace\pygletTest\main.py", line 9, in <module>
from gletools import ShaderProgram, FragmentShader, VertexShader
File "build\bdist.win32\egg\gletools\__init__.py", line 9, in <module>
# See the README file for information on usage and redistribution.
File "build\bdist.win32\egg\gletools\texture.py", line 454, in <module>
File "build\bdist.win32\egg\gletools\texture.py", line 455, in ArrayTexture
NameError: name 'GL_TEXTURE_2D_ARRAY' is not defined
I'm using Python 2.6 and Eclipse on Windows Vista. Any ideas on how to resolve this?