Mercurial > touhou
diff pytouhou/ui/opengl/sprite.pyx @ 590:e15672733c93
Switch to Python 3.x instead of 2.7.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 30 Sep 2014 17:14:24 +0200 |
parents | dacdcca59b66 |
children | 016f6b937893 |
line wrap: on
line diff
--- a/pytouhou/ui/opengl/sprite.pyx +++ b/pytouhou/ui/opengl/sprite.pyx @@ -79,7 +79,7 @@ cdef void render_sprite(Sprite sprite) n data.bottom = ty * y_1 + toy data.top = (ty + th) * y_1 + toy - for i in xrange(4): + for i in range(4): data.color[i] = sprite._color[i] data.key = ((<Texture>sprite.anm.texture).key << 1) | sprite.blendfunc