Write the resolution specified on the command line to the configuration file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3031 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
9710d4e4a7
commit
6cb9bdcbef
|
@ -379,8 +379,12 @@ bool ParseCommandLine(int argc, const char** argv)
|
|||
abort();
|
||||
return FALSE;
|
||||
}
|
||||
// tell the display system of the desired resolution
|
||||
pie_SetVideoBufferWidth(width);
|
||||
pie_SetVideoBufferHeight(height);
|
||||
// and update the configuration
|
||||
war_SetWidth(width);
|
||||
war_SetHeight(height);
|
||||
break;
|
||||
}
|
||||
case CLI_SAVEGAME:
|
||||
|
|
Loading…
Reference in New Issue