mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Refactored the ImageData decoding/encoding backends a bit
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
|
||||
// LOVE
|
||||
#include "image/Image.h"
|
||||
#include "FormatHandler.h"
|
||||
|
||||
// C++
|
||||
#include <list>
|
||||
|
||||
namespace love
|
||||
{
|
||||
@@ -54,6 +58,11 @@ public:
|
||||
|
||||
bool isCompressed(love::filesystem::FileData *data);
|
||||
|
||||
private:
|
||||
|
||||
// Image format handlers we can use for decoding and encoding ImageData.
|
||||
std::list<FormatHandler *> formatHandlers;
|
||||
|
||||
}; // Image
|
||||
|
||||
} // magpie
|
||||
|
||||
Reference in New Issue
Block a user