Both testsprite and testsprite2 use a grey background
authorSam Lantinga <slouken@libsdl.org>
Wed, 26 Nov 2008 15:52:00 +0000
changeset 2790 8c9fa61a521c
parent 2789 985001797115
child 2791 8133d1d278da
Both testsprite and testsprite2 use a grey background
test/testsprite.c
--- 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);