Mercurial > touhou
comparison pytouhou/ui/opengl/background.pxd @ 617:a6af3ff86612
Change all “void except *” function into “bint except True”, to prevent PyErr_Occurred() from being called at each call.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 29 Mar 2015 00:08:20 +0100 |
parents | a6a191e371c7 |
children |
comparison
equal
deleted
inserted
replaced
616:4ce3ef053a25 | 617:a6af3ff86612 |
---|---|
18 cdef Vertex *vertex_buffer | 18 cdef Vertex *vertex_buffer |
19 cdef GLushort nb_vertices | 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 bint load(self, background, GLuint[MAX_TEXTURES] textures) except True |