Mercurial > touhou
diff pytouhou/opengl/gamerenderer.pyx @ 187:46793ccfedca
Implement replays.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 26 Oct 2011 17:54:03 -0700 |
parents | c0183515a0a3 |
children | 8ec34c56fed0 |
line wrap: on
line diff
--- a/pytouhou/opengl/gamerenderer.pyx +++ b/pytouhou/opengl/gamerenderer.pyx @@ -42,7 +42,7 @@ cdef class GameRenderer: cdef Vertex *vertex_buffer - def __cinit__(self, resource_loader, game=None, background=None): + def __cinit__(self): # Allocate buffers self.vertex_buffer = <Vertex*> malloc(MAX_ELEMENTS * sizeof(Vertex))