diff pytouhou/ui/opengl/gamerenderer.pyx @ 540:53fa73932e9a

Fix warnings introduced in Cython 0.20, when more than one pointer is defined on the same line.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 10 May 2014 22:20:22 +0200
parents 6e3b3d5d4691
children 8f51e34d911c
line wrap: on
line diff
--- a/pytouhou/ui/opengl/gamerenderer.pyx
+++ b/pytouhou/ui/opengl/gamerenderer.pyx
@@ -101,7 +101,9 @@ cdef class GameRenderer(Renderer):
 
     cdef void render_game(self, Game game):
         cdef long game_x, game_y
-        cdef float x, y, z, dx, dy, dz, fog_data[4], fog_start, fog_end
+        cdef float x, y, z, dx, dy, dz
+        cdef float fog_data[4]
+        cdef float fog_start, fog_end
         cdef unsigned char fog_r, fog_g, fog_b
         cdef Matrix *mvp