diff pytouhou/ui/opengl/renderer.pxd @ 520:c0b3f8709f74

Store the indices of the framebuffer in a static ibo.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 12 Dec 2013 13:15:43 +0100
parents 75ae628522c9
children 63440d1e0717
line wrap: on
line diff
--- a/pytouhou/ui/opengl/renderer.pxd
+++ b/pytouhou/ui/opengl/renderer.pxd
@@ -22,10 +22,12 @@ cdef class Texture:
 cdef class Renderer:
     cdef TextureManager texture_manager
     cdef FontManager font_manager
-    cdef GLuint vbo, framebuffer_vbo
     cdef Vertex vertex_buffer[MAX_ELEMENTS]
     cdef long x, y, width, height
 
+    # For modern GL.
+    cdef GLuint vbo, framebuffer_vbo, framebuffer_ibo
+
     cdef bint use_fixed_pipeline #XXX
 
     cdef GLuint textures[MAX_TEXTURES]