Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/include/SDL_compat.h Thu Jan 21 05:49:41 2010 +0000 +++ b/include/SDL_compat.h Thu Jan 21 06:21:52 2010 +0000 @@ -295,6 +295,8 @@ extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval); extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable); +#define SDL_TextureID SDL_Texture* +#define SDL_WindowID SDL_Window* #define SDL_RenderPoint SDL_RenderDrawPoint #define SDL_RenderLine SDL_RenderDrawLine #define SDL_RenderFill(X) (X) ? SDL_RenderFillRect(X) : SDL_RenderClear()