Mercurial > touhou
comparison pytouhou/ui/opengl/backend.pxd @ 635:80687f258001
Make sdl.Window inherit from gui.Window, so we can swap implementations.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 14 Apr 2016 21:18:03 +0100 |
parents | 1b31169dc344 |
children | 4fa0a8e7d941 |
comparison
equal
deleted
inserted
replaced
634:5270c34b4c00 | 635:80687f258001 |
---|---|
1 from pytouhou.lib.sdl cimport SDL_GLprofile | |
2 from pytouhou.lib.opengl cimport GLenum_mode | 1 from pytouhou.lib.opengl cimport GLenum_mode |
3 | 2 |
4 cdef SDL_GLprofile profile | 3 cdef str profile |
5 cdef int major | 4 cdef int major |
6 cdef int minor | 5 cdef int minor |
7 cdef int double_buffer | 6 cdef int double_buffer |
8 cdef bint is_legacy | 7 cdef bint is_legacy |
9 cdef GLenum_mode primitive_mode | 8 cdef GLenum_mode primitive_mode |