diff pytouhou/ui/opengl/background.pxd @ 586:4b0593da29d5

Simplify framebuffer rendering with glDrawArrays, and move it all to its own file.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 08 Oct 2014 16:34:24 +0200
parents c759b97f4f81
children 3c2f96f1d715
line wrap: on
line diff
--- a/pytouhou/ui/opengl/background.pxd
+++ b/pytouhou/ui/opengl/background.pxd
@@ -1,5 +1,4 @@
 from pytouhou.lib.opengl cimport GLuint, GLushort, GLsizei
-from .renderer cimport Renderer
 
 cdef struct Vertex:
     float x, y, z
@@ -21,4 +20,4 @@ cdef class BackgroundRenderer:
 
     cdef void set_state(self) nogil
     cdef void render_background(self) except *
-    cdef void load(self, background, Renderer renderer) except *
+    cdef void load(self, background, GLuint[MAX_TEXTURES] textures) except *