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:
parent
b26887ef9b
commit
dff0a766a8
1 changed files with 3 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue