diff pytouhou/ui/renderer.pxd @ 458:1b56d62250ab

Make pytouhou.ui.{window,shader,game{runner,renderer}} extension types.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 05 Sep 2013 23:11:54 +0200
parents cae1ae9de430
children a71b912b45b7
line wrap: on
line diff
--- a/pytouhou/ui/renderer.pxd
+++ b/pytouhou/ui/renderer.pxd
@@ -7,10 +7,12 @@ cdef struct Vertex:
 
 
 cdef class Renderer:
-    cdef public texture_manager
+    cdef public texture_manager, font_manager
     cdef unsigned int vbo
     cdef Vertex *vertex_buffer
 
+    cdef bint use_fixed_pipeline #XXX
+
     cdef unsigned short *indices[2][MAX_TEXTURES]
     cdef unsigned short last_indices[2 * MAX_TEXTURES]
     cdef PyObject *elements[640*3]