comparison pytouhou/ui/opengl/background.pxd @ 611:a6a191e371c7

Add back a GL_QUADS path for legacy applications.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 21 Dec 2014 19:15:59 +0100
parents 3c2f96f1d715
children a6af3ff86612
comparison
equal deleted inserted replaced
610:1b31169dc344 611:a6a191e371c7
14 cdef GLuint vbo, ibo 14 cdef GLuint vbo, ibo
15 cdef GLuint vao 15 cdef GLuint vao
16 16
17 # For fixed pipeline. 17 # For fixed pipeline.
18 cdef Vertex *vertex_buffer 18 cdef Vertex *vertex_buffer
19 cdef GLushort *indices 19 cdef GLushort nb_vertices
20 20
21 cdef void set_state(self) nogil 21 cdef void set_state(self) nogil
22 cdef void render_background(self) nogil 22 cdef void render_background(self) nogil
23 cdef void load(self, background, GLuint[MAX_TEXTURES] textures) except * 23 cdef void load(self, background, GLuint[MAX_TEXTURES] textures) except *