Mercurial > touhou
comparison pytouhou/lib/_sdl.pxd @ 589:0768122da817
Add a frameskip option, and use swap interval to implement it.
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
|---|---|
| date | Fri, 10 Oct 2014 15:59:11 +0200 |
| parents | c34b23e29d16 |
| children | 19d930f9e3f0 |
comparison
equal
deleted
inserted
replaced
| 588:7a82c4b52b16 | 589:0768122da817 |
|---|---|
| 54 pass | 54 pass |
| 55 | 55 |
| 56 ctypedef void *SDL_GLContext | 56 ctypedef void *SDL_GLContext |
| 57 | 57 |
| 58 int SDL_GL_SetAttribute(SDL_GLattr attr, int value) | 58 int SDL_GL_SetAttribute(SDL_GLattr attr, int value) |
| 59 int SDL_GL_SetSwapInterval(int interval) | |
| 59 SDL_Window *SDL_CreateWindow(const char *title, int x, int y, int w, int h, Uint32 flags) | 60 SDL_Window *SDL_CreateWindow(const char *title, int x, int y, int w, int h, Uint32 flags) |
| 60 SDL_GLContext SDL_GL_CreateContext(SDL_Window *window) | 61 SDL_GLContext SDL_GL_CreateContext(SDL_Window *window) |
| 61 void SDL_GL_SwapWindow(SDL_Window *window) | 62 void SDL_GL_SwapWindow(SDL_Window *window) |
| 62 void SDL_GL_DeleteContext(SDL_GLContext context) | 63 void SDL_GL_DeleteContext(SDL_GLContext context) |
| 63 void SDL_DestroyWindow(SDL_Window *window) | 64 void SDL_DestroyWindow(SDL_Window *window) |
