test/testnative.c
changeset 6256 1d905b13b102
parent 6175 42c40787f382
child 7191 75360622e65f
     1.1 --- a/test/testnative.c	Sun Jan 22 17:50:35 2012 -0500
     1.2 +++ b/test/testnative.c	Sun Jan 22 18:11:41 2012 -0500
     1.3 @@ -62,7 +62,7 @@
     1.4  
     1.5      /* Set transparent pixel as the pixel at (0,0) */
     1.6      if (temp->format->palette) {
     1.7 -        SDL_SetColorKey(temp, SDL_SRCCOLORKEY, *(Uint8 *) temp->pixels);
     1.8 +        SDL_SetColorKey(temp, 1, *(Uint8 *) temp->pixels);
     1.9      }
    1.10  
    1.11      /* Create textures from the image */