mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 00:35:18 -05:00
Both testsprite and testsprite2 use a grey background
This commit is contained in:
@@ -247,7 +247,7 @@ main(int argc, char *argv[])
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user