Fix texture lookup

This commit is contained in:
kaetemi 2014-09-12 22:09:43 +02:00
parent 046bebf036
commit 210f106cab
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", "png", true);
// get the scenario entry points file
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::remapExtension("dds", "tga", true);
CPath::remapExtension("dds", "png", true);
//
R2::CScenarioEntryPoints &sep = R2::CScenarioEntryPoints::getInstance();
try