Fix texture lookup

--HG--
branch : develop
This commit is contained in:
kaetemi 2014-09-12 22:09:43 +02:00
parent 95cd60db52
commit 4f648ba736
2 changed files with 2 additions and 0 deletions

View file

@ -109,6 +109,7 @@ void CScreenshotIslands::init()
} }
} }
CPath::remapExtension("dds", "tga", true); CPath::remapExtension("dds", "tga", true);
CPath::remapExtension("dds", "png", true);
// get the scenario entry points file // get the scenario entry points file
CConfigFile::CVar * epFile = cf.getVarPtr("CompleteIslandsFile"); CConfigFile::CVar * epFile = cf.getVarPtr("CompleteIslandsFile");

View file

@ -111,6 +111,7 @@ int main(int argc, char* argv[])
CPath::addSearchPath(builderConfig.SearchPaths[k], true, false); CPath::addSearchPath(builderConfig.SearchPaths[k], true, false);
} }
CPath::remapExtension("dds", "tga", true); CPath::remapExtension("dds", "tga", true);
CPath::remapExtension("dds", "png", true);
// //
R2::CScenarioEntryPoints &sep = R2::CScenarioEntryPoints::getInstance(); R2::CScenarioEntryPoints &sep = R2::CScenarioEntryPoints::getInstance();
try try