Mercurial > touhou
diff pytouhou/ui/opengl/renderer.pxd @ 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 | 63440d1e0717 |
children | 94725968dabb |
line wrap: on
line diff
--- a/pytouhou/ui/opengl/renderer.pxd +++ b/pytouhou/ui/opengl/renderer.pxd @@ -15,7 +15,8 @@ cdef struct PassthroughVertex: cdef class Texture: cdef long key - cdef GLuint texture, *pointer + cdef GLuint texture + cdef GLuint *pointer cdef unsigned short indices[2][65536] #XXX: keep a reference so that when __dealloc__ is called self.pointer is still valid.