I play with pyglet 1.2alpha-1 and Python 3.3. I have the following (extremely simple) application and cannot figure out what the problem is:
import pyglet window = pyglet.window.Window()
With the above code, my text label will appear until image.blit (0, 0) is noticed. However, if I try to display the image, the program will exit with the following error:
File "C:\Python33\lib\site-packages\pyglet\gl\lib.py", line 105, in errcheck raise GLException(msg) pyglet.gl.lib.GLException: b'invalid value'
I also get the above error if I try to use pyglet.resource.image instead of pyglet.image.load (the image file and py are in the same directory).
Does anyone know how I can fix this problem?
I am using Python 3.3, pyglet 1.2alpha-1 and Windows 8.
source share