IMG_xpm.c
changeset 320 aa5d55b11751
parent 288 cbf4a9d168ff
child 339 2e4f9d95a8c8
     1.1 --- a/IMG_xpm.c	Sun Jan 22 20:11:17 2012 -0500
     1.2 +++ b/IMG_xpm.c	Sun Jan 22 21:52:00 2012 -0500
     1.3 @@ -431,7 +431,7 @@
     1.4  			add_colorhash(colors, nextkey, cpp, pixel);
     1.5  			nextkey += cpp;
     1.6  			if(rgb == 0xffffffff)
     1.7 -				SDL_SetColorKey(image, SDL_SRCCOLORKEY, pixel);
     1.8 +				SDL_SetColorKey(image, SDL_TRUE, pixel);
     1.9  			break;
    1.10  		}
    1.11  	}