Fix texture lookup

--HG--
branch : develop
kaetemi 10 years ago
parent 95cd60db52
commit 4f648ba736

@ -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");

@ -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

Loading…
Cancel
Save