Yes, I can answer this one. The Window.on_resize() method is calling some
legacy OpenGL functions, which won't work on GL contexts above 3.0.
You can avoid the error by just overriding this event like this:
@window.event
def on_resize(w, h):
return pyglet.event.EVENT_HANDLED
Might I ask, what type of application/game are you building?
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.