Mercurial > touhou
view pytouhou/ui/background.pxd @ 501:4778c482f24a
Make SDL(sound=False) work again, and disable sound if an exception occurs while setting it up.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 23 Oct 2013 18:24:07 +0200 |
parents | feecdb4a8928 |
children |
line wrap: on
line source
from pytouhou.lib.opengl cimport GLuint cdef struct Vertex: float x, y, z float u, v unsigned char r, g, b, a cdef class BackgroundRenderer: cdef GLuint texture cdef unsigned short blendfunc, nb_vertices cdef Vertex *vertex_buffer cdef unsigned int use_fixed_pipeline, vbo cdef object background cdef void render_background(self) except * cdef void load(self, background) except *