Both testsprite and testsprite2 use a grey background
authorSam Lantinga <slouken@libsdl.org>
Wed, 26 Nov 2008 15:52:00 +0000
changeset 27908c9fa61a521c
parent 2789 985001797115
child 2791 8133d1d278da
Both testsprite and testsprite2 use a grey background
test/testsprite.c
     1.1 --- a/test/testsprite.c	Tue Nov 25 20:06:27 2008 +0000
     1.2 +++ b/test/testsprite.c	Wed Nov 26 15:52:00 2008 +0000
     1.3 @@ -247,7 +247,7 @@
     1.4              velocities[i].y = (rand() % (MAX_SPEED * 2 + 1)) - MAX_SPEED;
     1.5          }
     1.6      }
     1.7 -    background = SDL_MapRGB(screen->format, 0x00, 0x00, 0x00);
     1.8 +    background = SDL_MapRGB(screen->format, 0xA0, 0xA0, 0xA0);
     1.9  
    1.10      /* Print out information about our surfaces */
    1.11      printf("Screen is at %d bits per pixel\n", screen->format->BitsPerPixel);