Mercurial > touhou
diff pytouhou/ui/renderer.pyx @ 304:f3099ebf4f61
Update attribute names to reflect the actual interface.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Tue, 13 Mar 2012 18:38:14 +0100 |
parents | 6f1ca1cb5238 |
children | 74471afbac37 |
line wrap: on
line diff
--- a/pytouhou/ui/renderer.pyx +++ b/pytouhou/ui/renderer.pyx @@ -50,7 +50,7 @@ cdef class Renderer: if nb_vertices >= MAX_ELEMENTS - 4: break - sprite = element._sprite + sprite = element.sprite if sprite and sprite.visible: ox, oy = element.x, element.y key, (vertices, uvs, colors) = get_sprite_rendering_data(sprite)