mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Removed gif 'support' from ImageData:encode (it never worked, DevIL doesn't support saving gifs)
This commit is contained in:
@@ -168,7 +168,6 @@ StringMap<ImageData::Format, ImageData::FORMAT_MAX_ENUM>::Entry ImageData::forma
|
||||
{
|
||||
{"tga", ImageData::FORMAT_TGA},
|
||||
{"bmp", ImageData::FORMAT_BMP},
|
||||
{"gif", ImageData::FORMAT_GIF},
|
||||
{"jpg", ImageData::FORMAT_JPG},
|
||||
{"png", ImageData::FORMAT_PNG},
|
||||
};
|
||||
|
||||
@@ -67,7 +67,6 @@ public:
|
||||
{
|
||||
FORMAT_TGA = 1,
|
||||
FORMAT_BMP,
|
||||
FORMAT_GIF,
|
||||
FORMAT_JPG,
|
||||
FORMAT_PNG,
|
||||
FORMAT_MAX_ENUM
|
||||
|
||||
@@ -194,9 +194,6 @@ void ImageData::encode(love::filesystem::File *f, ImageData::Format format)
|
||||
case ImageData::FORMAT_TGA:
|
||||
ilFormat = IL_TGA;
|
||||
break;
|
||||
case ImageData::FORMAT_GIF:
|
||||
ilFormat = IL_GIF;
|
||||
break;
|
||||
case ImageData::FORMAT_JPG:
|
||||
ilFormat = IL_JPG;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user