view pytouhou/ui/opengl/backend.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 1b31169dc344
children 80687f258001
line wrap: on
line source

from pytouhou.lib.sdl cimport SDL_GLprofile
from pytouhou.lib.opengl cimport GLenum_mode

cdef SDL_GLprofile profile
cdef int major
cdef int minor
cdef int double_buffer
cdef bint is_legacy
cdef GLenum_mode primitive_mode
cdef bint use_debug_group
cdef bint use_vao
cdef bint use_framebuffer_blit
cdef bint use_primitive_restart
cdef bint use_pack_invert
cdef bint use_scaled_rendering
cdef bytes shader_header