Mercurial > touhou
diff 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 |
line wrap: on
line diff
--- a/pytouhou/lib/_sdl.pxd +++ b/pytouhou/lib/_sdl.pxd @@ -36,9 +36,15 @@ cdef extern from "SDL_video.h" nogil: ctypedef enum SDL_GLattr: SDL_GL_CONTEXT_MAJOR_VERSION SDL_GL_CONTEXT_MINOR_VERSION + SDL_GL_CONTEXT_PROFILE_MASK SDL_GL_DOUBLEBUFFER SDL_GL_DEPTH_SIZE + ctypedef enum SDL_GLprofile: + SDL_GL_CONTEXT_PROFILE_CORE + SDL_GL_CONTEXT_PROFILE_COMPATIBILITY + SDL_GL_CONTEXT_PROFILE_ES + ctypedef enum SDL_WindowFlags: SDL_WINDOWPOS_CENTERED SDL_WINDOW_OPENGL