NathanW
unread,Oct 7, 2008, 3:56:14 PM10/7/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyglet-users
Hello,
I've started playing around with pyglet for the first time. It is
very cool, kudos to everyone involved. I'm porting a bunch of pygame
code to pyglet to see what's different and how fast things are. First
thing is a tile engine (everyone's first pyglet project).
I found a small bug in pyglet 1.1.1. When resizing vertex lists, the
texture coords list doesn't resize properly. It is a problem
invalidating the cache. The fix:
Add line 363 in graphics/vertexdomain.py:
self._tex_coords_cache_version = None
There might be other caches that should be invalidated, I'm not
familiar enough with the code to know exactly what.
--
Nathan Whitehead