mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Improved the error message given when jpeg, TGA, and BMP images fail to decode.
This commit is contained in:
@@ -78,7 +78,7 @@ bool FileData::getConstant(const char *in, Decoder &out)
|
||||
return decoders.find(in, out);
|
||||
}
|
||||
|
||||
bool FileData::getConstant(Decoder in, const char *&out)
|
||||
bool FileData::getConstant(Decoder in, const char *&out)
|
||||
{
|
||||
return decoders.find(in, out);
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
const std::string &getExtension() const;
|
||||
|
||||
static bool getConstant(const char *in, Decoder &out);
|
||||
static bool getConstant(Decoder in, const char *&out);
|
||||
static bool getConstant(Decoder in, const char *&out);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user