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 a7dc55ad9380
children 0768122da817
comparison
equal deleted inserted replaced
555:98380e4a0ee5 556:c34b23e29d16
34 34
35 cdef extern from "SDL_video.h" nogil: 35 cdef extern from "SDL_video.h" nogil:
36 ctypedef enum SDL_GLattr: 36 ctypedef enum SDL_GLattr:
37 SDL_GL_CONTEXT_MAJOR_VERSION 37 SDL_GL_CONTEXT_MAJOR_VERSION
38 SDL_GL_CONTEXT_MINOR_VERSION 38 SDL_GL_CONTEXT_MINOR_VERSION
39 SDL_GL_CONTEXT_PROFILE_MASK
39 SDL_GL_DOUBLEBUFFER 40 SDL_GL_DOUBLEBUFFER
40 SDL_GL_DEPTH_SIZE 41 SDL_GL_DEPTH_SIZE
42
43 ctypedef enum SDL_GLprofile:
44 SDL_GL_CONTEXT_PROFILE_CORE
45 SDL_GL_CONTEXT_PROFILE_COMPATIBILITY
46 SDL_GL_CONTEXT_PROFILE_ES
41 47
42 ctypedef enum SDL_WindowFlags: 48 ctypedef enum SDL_WindowFlags:
43 SDL_WINDOWPOS_CENTERED 49 SDL_WINDOWPOS_CENTERED
44 SDL_WINDOW_OPENGL 50 SDL_WINDOW_OPENGL
45 SDL_WINDOW_RESIZABLE 51 SDL_WINDOW_RESIZABLE