comparison pytouhou/lib/sdl.pxd @ 556:c34b23e29d16

Make the OpenGL flavor and version options work.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 30 May 2014 16:40:36 +0200
parents 1abb6f7db8cc
children 0768122da817
comparison
equal deleted inserted replaced
555:98380e4a0ee5 556:c34b23e29d16
15 from _sdl cimport * 15 from _sdl cimport *
16 16
17 17
18 cdef SDL_GLattr GL_CONTEXT_MAJOR_VERSION 18 cdef SDL_GLattr GL_CONTEXT_MAJOR_VERSION
19 cdef SDL_GLattr GL_CONTEXT_MINOR_VERSION 19 cdef SDL_GLattr GL_CONTEXT_MINOR_VERSION
20 cdef SDL_GLattr GL_CONTEXT_PROFILE_MASK
20 cdef SDL_GLattr GL_DOUBLEBUFFER 21 cdef SDL_GLattr GL_DOUBLEBUFFER
21 cdef SDL_GLattr GL_DEPTH_SIZE 22 cdef SDL_GLattr GL_DEPTH_SIZE
23
24 cdef SDL_GLprofile GL_CONTEXT_PROFILE_CORE
25 cdef SDL_GLprofile GL_CONTEXT_PROFILE_COMPATIBILITY
26 cdef SDL_GLprofile GL_CONTEXT_PROFILE_ES
22 27
23 cdef SDL_WindowFlags WINDOWPOS_CENTERED 28 cdef SDL_WindowFlags WINDOWPOS_CENTERED
24 cdef SDL_WindowFlags WINDOW_OPENGL 29 cdef SDL_WindowFlags WINDOW_OPENGL
25 cdef SDL_WindowFlags WINDOW_SHOWN 30 cdef SDL_WindowFlags WINDOW_SHOWN
26 cdef SDL_WindowFlags WINDOW_RESIZABLE 31 cdef SDL_WindowFlags WINDOW_RESIZABLE