comparison 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
comparison
equal deleted inserted replaced
536:6b76c9ba3975 537:63440d1e0717
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, *pointer
19 cdef unsigned short indices[2][65536] 19 cdef unsigned short indices[2][65536]
20
21 #XXX: keep a reference so that when __dealloc__ is called self.pointer is still valid.
22 cdef Renderer renderer
20 23
21 24
22 cdef class Renderer: 25 cdef class Renderer:
23 cdef TextureManager texture_manager 26 cdef TextureManager texture_manager
24 cdef FontManager font_manager 27 cdef FontManager font_manager