Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Both testsprite and testsprite2 use a grey background

  • Loading branch information
slouken committed Nov 26, 2008
1 parent a0bed18 commit 409dd9abaef2d43a75a1a78c14b808754db41409
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/testsprite.c
@@ -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);

0 comments on commit 409dd9a

Please sign in to comment.