IMG.c
changeset 24 69f3d44d56da
parent 11 b3d1b573a542
child 26 d51719e1b5d9
     1.1 --- a/IMG.c	Sun Mar 04 22:22:57 2001 +0000
     1.2 +++ b/IMG.c	Wed Mar 07 16:59:28 2001 +0000
     1.3 @@ -38,10 +38,10 @@
     1.4  	int (*is)(SDL_RWops *src);
     1.5  	SDL_Surface *(*load)(SDL_RWops *src);
     1.6  } supported[] = {
     1.7 -        /* keep magicless formats first (denoted by is==NULL) */
     1.8 -	{ "TGA", NULL,      IMG_LoadTGA_RW },
     1.9 +	/* keep magicless formats first */
    1.10 +	{ "TGA", 0,         IMG_LoadTGA_RW },
    1.11  	{ "BMP", IMG_isBMP, IMG_LoadBMP_RW },
    1.12 -	{ "PPM", IMG_isPPM, IMG_LoadPPM_RW },
    1.13 +	{ "PNM", IMG_isPNM, IMG_LoadPNM_RW }, /* P[BGP]M share code */
    1.14  	{ "XPM", IMG_isXPM, IMG_LoadXPM_RW },
    1.15  	{ "PCX", IMG_isPCX, IMG_LoadPCX_RW },
    1.16  	{ "GIF", IMG_isGIF, IMG_LoadGIF_RW },