Mercurial > touhou
diff pytouhou/ui/gamerunner.py @ 384:690b5faaa0e6
Make rendering of multiple-sprites elements work like single-sprites.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 02 Oct 2012 13:27:05 +0200 |
parents | e0e284fcb288 |
children | e1f5dcd4b83e |
line wrap: on
line diff
--- a/pytouhou/ui/gamerunner.py +++ b/pytouhou/ui/gamerunner.py @@ -14,7 +14,6 @@ import pyglet import traceback -from itertools import chain from pyglet.gl import (glMatrixMode, glLoadIdentity, glEnable, glDisable, glHint, glEnableClientState, glViewport, glScissor, @@ -223,7 +222,6 @@ class GameRunner(pyglet.window.Window, G self.render_elements(interface.boss_items) self.render_elements(labels) - self.render_elements(chain(*(label.objects() for label in labels))) for label in labels: label.changed = False