changeset 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 985001797115
children 8133d1d278da
files test/testsprite.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);