test/testalpha.c
changeset 2797 c81150fedf6f
parent 2710 44e49d3fa6cf
child 2799 bbf3aac2672a
     1.1 --- a/test/testalpha.c	Fri Nov 28 17:42:40 2008 +0000
     1.2 +++ b/test/testalpha.c	Fri Nov 28 17:44:28 2008 +0000
     1.3 @@ -504,7 +504,7 @@
     1.4                      area.y = event.button.y - 16;
     1.5                      area.w = 32;
     1.6                      area.h = 32;
     1.7 -                    SDL_FillRect(screen, &area, 0);
     1.8 +                    SDL_FillRect(screen, &area, SDL_MapRGB(screen->format, 0, 0, 0));
     1.9                      SDL_UpdateRects(screen, 1, &area);
    1.10                  }
    1.11                  break;