Mercurial > touhou
comparison 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 |
comparison
equal
deleted
inserted
replaced
539:d6d9a711253d | 540:53fa73932e9a |
---|---|
13 float u, v | 13 float u, v |
14 | 14 |
15 | 15 |
16 cdef class Texture: | 16 cdef class Texture: |
17 cdef long key | 17 cdef long key |
18 cdef GLuint texture, *pointer | 18 cdef GLuint texture |
19 cdef GLuint *pointer | |
19 cdef unsigned short indices[2][65536] | 20 cdef unsigned short indices[2][65536] |
20 | 21 |
21 #XXX: keep a reference so that when __dealloc__ is called self.pointer is still valid. | 22 #XXX: keep a reference so that when __dealloc__ is called self.pointer is still valid. |
22 cdef Renderer renderer | 23 cdef Renderer renderer |
23 | 24 |