Mercurial > touhou
diff pytouhou/ui/opengl/gamerenderer.pyx @ 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 | 6e79756b7f42 |
children | 6c9d8a3d853f |
line wrap: on
line diff
--- a/pytouhou/ui/opengl/gamerenderer.pyx +++ b/pytouhou/ui/opengl/gamerenderer.pyx @@ -71,7 +71,7 @@ cdef class GameRenderer(Renderer): self.background = background if background is not None: self.background_renderer = BackgroundRenderer() - self.background_renderer.load(background, self) + self.background_renderer.load(background, self.textures) else: self.background_renderer = None