changeset 3596 | f638ded38b8a |
parent 3536 | 0267b8b1595c |
child 3685 | 64ce267332c6 |
--- a/test/testspriteminimal.c Fri Dec 18 08:19:18 2009 +0000 +++ b/test/testspriteminimal.c Wed Dec 23 01:55:00 2009 +0000 @@ -87,7 +87,7 @@ /* Draw a gray background */ SDL_SetRenderDrawColor(0xA0, 0xA0, 0xA0, 0xFF); - SDL_RenderRect(NULL); + SDL_RenderClear(); /* Move the sprite, bounce at the wall, and draw */ for (i = 0; i < NUM_SPRITES; ++i) {