diff pytouhou/game/sprite.pxd @ 532:dacdcca59b66

Don’t put back the rendering data into a tuple, use a specialised struct inside Sprite to pass it to the renderer.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 19 Dec 2013 21:55:26 +0100
parents 0b2a92a25245
children 725bd24235a2
line wrap: on
line diff
--- a/pytouhou/game/sprite.pxd
+++ b/pytouhou/game/sprite.pxd
@@ -11,7 +11,8 @@ cdef class Sprite:
     cdef public Interpolator offset_interpolator, rotation_interpolator
     cdef public Interpolator color_interpolator
     cdef public ANM anm
-    cdef public object _rendering_data
+
+    cdef void *_rendering_data
 
     cdef float _dest_offset[3]
     cdef double _texcoords[4]