1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

wrlib: revert addition of an internal ImgFormat for ImageMagick

IM_MAGICK is not a file format, and in the current implementation it is
a special case for handling IM_UNKNOWN.
This commit is contained in:
Christophe CURIS
2014-04-29 01:06:03 +02:00
committed by Carlos R. Mafra
parent 058e0a0ebd
commit ed072cd578

View File

@@ -39,13 +39,12 @@ typedef enum {
IM_PPM = 4, IM_PPM = 4,
IM_JPEG = 5, IM_JPEG = 5,
IM_GIF = 6, IM_GIF = 6,
IM_WEBP = 7, IM_WEBP = 7
IM_MAGICK = 8
} WRImgFormat; } WRImgFormat;
/* How many image types we have. */ /* How many image types we have. */
/* Increase this when adding new image types! */ /* Increase this when adding new image types! */
#define IM_TYPES 8 #define IM_TYPES 7
/* /*
* Function for Loading in a specific format * Function for Loading in a specific format