view pytouhou/ui/opengl/backend.pxd @ 606:3c2f96f1d715

Fix compilation under Cython 0.22, by making the pyx and the pxd declarations’ except clause similar.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 26 Nov 2014 13:36:38 +0100
parents 974decb8df4f
children 1b31169dc344
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 bytes shader_header