Commit 4757b133 authored by Sam Lantinga's avatar Sam Lantinga

Both testsprite and testsprite2 use a grey background

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403251
parent 39969245
...@@ -247,7 +247,7 @@ main(int argc, char *argv[]) ...@@ -247,7 +247,7 @@ main(int argc, char *argv[])
velocities[i].y = (rand() % (MAX_SPEED * 2 + 1)) - MAX_SPEED; 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 */ /* Print out information about our surfaces */
printf("Screen is at %d bits per pixel\n", screen->format->BitsPerPixel); printf("Screen is at %d bits per pixel\n", screen->format->BitsPerPixel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment