Answered my own question.

To trigger glDeleteTextures() there is a utility method in the Context
object with the signature...
delete_texture(self, texture_id)
...which avoids having to create a array of texture ids and pass the
array pointer to the glDeleteTextures() function, which I couldn't
work out how to do.

http://www.pyglet.org/doc/api/pyglet.gl.Context-class.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to