Cleaned up some ImageData code.

This commit is contained in:
Alex Szpakowski
2015-06-14 01:01:44 -03:00
parent 16ebe92176
commit aac595525a
11 changed files with 37 additions and 41 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ void ImageData::decode(love::filesystem::FileData *data)
decodeHandler = decoder;
}
void ImageData::encode(love::filesystem::File *f, ImageData::Format format)
void ImageData::encode(love::filesystem::File *f, ImageData::EncodedFormat format)
{
FormatHandler *encoder = nullptr;
FormatHandler::EncodedImage encodedimage;