1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 20:53:50 +00:00

adding 3 more extensions

This commit is contained in:
Bret Curtis 2017-09-13 15:30:22 +02:00
parent b26887ef9b
commit dff0a766a8

View file

@ -65,7 +65,9 @@ namespace MWGui
const std::map<std::string, VFS::File*>& index = mVFS->getIndex(); const std::map<std::string, VFS::File*>& index = mVFS->getIndex();
std::string pattern = "Splash/"; std::string pattern = "Splash/";
mVFS->normalizeFilename(pattern); mVFS->normalizeFilename(pattern);
std::list<std::string> supported_extensions = {".tga", ".png", ".dds"}; /* priority given to the left */
/* priority given to the left */
std::list<std::string> supported_extensions = {".tga", ".dds", ".png", ".bmp", ".jpeg", ".jpg"};
auto found = index.lower_bound(pattern); auto found = index.lower_bound(pattern);
while (found != index.end()) while (found != index.end())