I have a small program which loads an image from a png file, and stores the
result of get_image_data(). A sprite is then created with the result, which
renders fine.
However, when I call set_data() on the image, no error occurs, but the
sprites texture is not updated. It will update if I explicitly call
sprite.image = image, but this causes a lot of slow downs.

How is it intended that one update an image attached to a sprite?

-- 
Tristam MacDonald
http://swiftcoder.wordpress.com/

--~--~---------~--~----~------------~-------~--~----~
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