Fix texture lookup
This commit is contained in:
parent
fee85bac2c
commit
0e0b6e11bd
2 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue