Mercurial > sdl-ios-xcode
comparison include/SDL_compat.h @ 3685:64ce267332c6
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 21 Jan 2010 06:21:52 +0000 |
parents | f638ded38b8a |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3684:cc564f08884f | 3685:64ce267332c6 |
---|---|
293 extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void); | 293 extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void); |
294 extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval); | 294 extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval); |
295 extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval); | 295 extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval); |
296 extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable); | 296 extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable); |
297 | 297 |
298 #define SDL_TextureID SDL_Texture* | |
299 #define SDL_WindowID SDL_Window* | |
298 #define SDL_RenderPoint SDL_RenderDrawPoint | 300 #define SDL_RenderPoint SDL_RenderDrawPoint |
299 #define SDL_RenderLine SDL_RenderDrawLine | 301 #define SDL_RenderLine SDL_RenderDrawLine |
300 #define SDL_RenderFill(X) (X) ? SDL_RenderFillRect(X) : SDL_RenderClear() | 302 #define SDL_RenderFill(X) (X) ? SDL_RenderFillRect(X) : SDL_RenderClear() |
301 | 303 |
302 extern DECLSPEC int SDLCALL SDL_putenv(const char *variable); | 304 extern DECLSPEC int SDLCALL SDL_putenv(const char *variable); |