Mercurial > sdl-ios-xcode
diff test/testsprite.c @ 2790:8c9fa61a521c
Both testsprite and testsprite2 use a grey background
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 26 Nov 2008 15:52:00 +0000 |
parents | 6bacfecbf27e |
children | c2d9b1aff59f |
line wrap: on
line diff
--- a/test/testsprite.c Tue Nov 25 20:06:27 2008 +0000 +++ b/test/testsprite.c Wed Nov 26 15:52:00 2008 +0000 @@ -247,7 +247,7 @@ velocities[i].y = (rand() % (MAX_SPEED * 2 + 1)) - MAX_SPEED; } } - background = SDL_MapRGB(screen->format, 0x00, 0x00, 0x00); + background = SDL_MapRGB(screen->format, 0xA0, 0xA0, 0xA0); /* Print out information about our surfaces */ printf("Screen is at %d bits per pixel\n", screen->format->BitsPerPixel);