Mercurial > touhou
diff pytouhou/ui/opengl/renderer.pxd @ 537:63440d1e0717
Fix a segfault happening at exit time on Windows.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 19 Apr 2014 19:03:38 +0200 |
parents | c0b3f8709f74 |
children | 53fa73932e9a |
line wrap: on
line diff
--- a/pytouhou/ui/opengl/renderer.pxd +++ b/pytouhou/ui/opengl/renderer.pxd @@ -18,6 +18,9 @@ cdef class Texture: cdef GLuint texture, *pointer cdef unsigned short indices[2][65536] + #XXX: keep a reference so that when __dealloc__ is called self.pointer is still valid. + cdef Renderer renderer + cdef class Renderer: cdef TextureManager texture_manager