comparison pytouhou/lib/sdl.pyx @ 450:2a352118c55a

Add back Windows support, using GLEW for OpenGL.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 30 Aug 2013 18:21:07 +0200
parents 52829ebe2561
children 17a7f3b028f3
comparison
equal deleted inserted replaced
449:d56536ef28e8 450:2a352118c55a
145 def mix_init(int flags): 145 def mix_init(int flags):
146 if Mix_Init(flags) != flags: 146 if Mix_Init(flags) != flags:
147 raise SDLError(SDL_GetError()) 147 raise SDLError(SDL_GetError())
148 148
149 149
150 IF UNAME_SYSNAME == "Windows":
151 def set_main_ready():
152 SDL_SetMainReady()
153
154
150 def quit(): 155 def quit():
151 SDL_Quit() 156 SDL_Quit()
152 157
153 158
154 def img_quit(): 159 def img_quit():