diff options
author | Sam Lantinga <slouken@libsdl.org> | 2009-12-09 15:56:56 +0000 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2009-12-09 15:56:56 +0000 |
commit | cf1ff7468c511cd3eacadc7401b7ffe63e3201cd (patch) | |
tree | adf2d5cb7d2a954df59b5b0211e21241faba2c3d /test/testspriteminimal.c | |
parent | bdc1ef5acc7d33ad08a08e102a709426353c6813 (diff) | |
download | sdl-cf1ff7468c511cd3eacadc7401b7ffe63e3201cd.tar.gz |
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()
Diffstat (limited to 'test/testspriteminimal.c')
-rw-r--r-- | test/testspriteminimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testspriteminimal.c b/test/testspriteminimal.c index b1f6055fd..3460496e6 100644 --- a/test/testspriteminimal.c +++ b/test/testspriteminimal.c @@ -87,7 +87,7 @@ MoveSprites(SDL_WindowID window, SDL_TextureID sprite) /* Draw a gray background */ SDL_SetRenderDrawColor(0xA0, 0xA0, 0xA0, 0xFF); - SDL_RenderFill(NULL); + SDL_RenderRect(NULL); /* Move the sprite, bounce at the wall, and draw */ for (i = 0; i < NUM_SPRITES; ++i) { |