video: remove errant code for the -width and -height parameters
This prevented either paramater from working properly, since they would be incorrectly trying to set the other dimension and immediately switching video modes. Now works like -geometry does. Resolves #1086
This commit is contained in:
parent
50d2f52b21
commit
54a2c31efc
1 changed files with 0 additions and 4 deletions
|
|
@ -973,8 +973,6 @@ void I_GraphicsCheckCommandLine(void)
|
|||
if (i > 0)
|
||||
{
|
||||
window_width = atoi(myargv[i + 1]);
|
||||
window_height = window_width * 2;
|
||||
AdjustWindowSize();
|
||||
fullscreen = false;
|
||||
}
|
||||
|
||||
|
|
@ -990,8 +988,6 @@ void I_GraphicsCheckCommandLine(void)
|
|||
if (i > 0)
|
||||
{
|
||||
window_height = atoi(myargv[i + 1]);
|
||||
window_width = window_height * 2;
|
||||
AdjustWindowSize();
|
||||
fullscreen = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue