Improved the error message given when jpeg, TGA, and BMP images fail to decode.

This commit is contained in:
Alex Szpakowski
2016-02-28 12:41:27 -04:00
parent e08374fdd1
commit 8d7481c3b2
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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: