diff 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
line wrap: on
line diff
--- a/pytouhou/lib/sdl.pyx
+++ b/pytouhou/lib/sdl.pyx
@@ -147,6 +147,11 @@ def mix_init(int flags):
         raise SDLError(SDL_GetError())
 
 
+IF UNAME_SYSNAME == "Windows":
+    def set_main_ready():
+        SDL_SetMainReady()
+
+
 def quit():
     SDL_Quit()