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 | 1abb6f7db8cc |
children | 0768122da817 |
line wrap: on
line diff
--- a/pytouhou/lib/sdl.pxd +++ b/pytouhou/lib/sdl.pxd @@ -17,9 +17,14 @@ from _sdl cimport * cdef SDL_GLattr GL_CONTEXT_MAJOR_VERSION cdef SDL_GLattr GL_CONTEXT_MINOR_VERSION +cdef SDL_GLattr GL_CONTEXT_PROFILE_MASK cdef SDL_GLattr GL_DOUBLEBUFFER cdef SDL_GLattr GL_DEPTH_SIZE +cdef SDL_GLprofile GL_CONTEXT_PROFILE_CORE +cdef SDL_GLprofile GL_CONTEXT_PROFILE_COMPATIBILITY +cdef SDL_GLprofile GL_CONTEXT_PROFILE_ES + cdef SDL_WindowFlags WINDOWPOS_CENTERED cdef SDL_WindowFlags WINDOW_OPENGL cdef SDL_WindowFlags WINDOW_SHOWN