commit 54a2c31efc2242d130aecae0b79922e4a92d4a08
Author: Mike Swanson <mikeonthecomputer@gmail.com>
AuthorDate: Tue Sep 18 20:48:20 2018 -0700
Commit: Mike Swanson <mikeonthecomputer@gmail.com>
CommitDate: Tue Sep 18 20:48:20 2018 -0700
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
---
src/i_video.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/i_video.c b/src/i_video.c
index d81ec882..01369217 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -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;
}