Add tga filename detection.

This commit is contained in:
Pavel Krajcevski 2013-11-19 14:56:21 -05:00
parent 325b04847e
commit baced12633

View file

@ -262,6 +262,9 @@ EImageFileFormat ImageFile::DetectFileFormat(const CHAR *filename) {
else if(strcmp(ext, ".pvr") == 0) {
return eFileFormat_PVR;
}
else if(strcmp(ext, ".tga") == 0) {
return eFileFormat_TGA;
}
return kNumImageFileFormats;
}