Mercurial > sdl-ios-xcode
diff include/SDL_compat.h @ 3536:0267b8b1595c
Added interfaces for batch drawing of points, lines and rects:
SDL_DrawPoints()
SDL_BlendPoints()
SDL_BlendLines()
SDL_DrawLines()
SDL_FillRects()
SDL_BlendRects()
SDL_RenderPoints()
SDL_RenderLines()
SDL_RenderRects()
Renamed SDL_RenderFill() to SDL_RenderRect()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 09 Dec 2009 15:56:56 +0000 |
parents | d3baf5ac4e37 |
children | 5543db4239e6 |
line wrap: on
line diff
--- a/include/SDL_compat.h Mon Dec 07 10:08:24 2009 +0000 +++ b/include/SDL_compat.h Wed Dec 09 15:56:56 2009 +0000 @@ -350,6 +350,8 @@ extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval); extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable); +#define SDL_RenderFill SDL_RenderRect + /*@}*//*Compatibility*/ /* Ends C function definitions when using C++ */