mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 20:22:31 +01:00
- attempt to work more friendly with open suse
This commit is contained in:
parent
c784aef95b
commit
0b6fae7c93
@ -581,6 +581,8 @@ int glestMain(int argc, char** argv){
|
||||
Renderer &renderer= Renderer::getInstance();
|
||||
printf("%s",renderer.getGlInfo().c_str());
|
||||
|
||||
delete mainWindow;
|
||||
|
||||
return -1;
|
||||
}
|
||||
if(hasCommandArgument(argc, argv,"--validate-techtrees") == true) {
|
||||
@ -591,6 +593,8 @@ int glestMain(int argc, char** argv){
|
||||
vector<string> results;
|
||||
findDirs(config.getPathListForType(ptTechs), results);
|
||||
vector<string> techTreeFiles = results;
|
||||
|
||||
{
|
||||
World world;
|
||||
|
||||
vector<string> techPaths = config.getPathListForType(ptTechs);
|
||||
@ -657,7 +661,9 @@ int glestMain(int argc, char** argv){
|
||||
}
|
||||
|
||||
printf("\n====== Finished Validation ======\n");
|
||||
}
|
||||
|
||||
delete mainWindow;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user