mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Removed the DevIL backend from love.image. Replaced it with PNG and JPEG encoders/decoders via LodePNG, zlib, and libjpeg-turbo.
PNG and JPEG are now the only two supported image formats, aside from compressed DDS (DXT, etc.) --HG-- branch : minor
This commit is contained in:
@@ -93,6 +93,11 @@ public:
|
||||
**/
|
||||
virtual EncodedImage encode(const DecodedImage &img, ImageData::Format format);
|
||||
|
||||
/**
|
||||
* Frees memory allocated by the format handler.
|
||||
**/
|
||||
virtual void free(unsigned char *mem);
|
||||
|
||||
}; // FormatHandler
|
||||
|
||||
} // magpie
|
||||
|
||||
Reference in New Issue
Block a user