diff options
author | Simon Howard | 2014-03-27 21:59:00 -0400 |
---|---|---|
committer | Simon Howard | 2014-03-27 21:59:00 -0400 |
commit | 16a0f227362f330bd9be0598f136eed05c811969 (patch) | |
tree | 2da5a3557aa33edde4d8e32ed41f607f1cc8d856 /src/hexen/info.h | |
parent | 5412004bfa32864c1034e81ee7b093d8887850f5 (diff) | |
download | chocolate-doom-16a0f227362f330bd9be0598f136eed05c811969.tar.gz chocolate-doom-16a0f227362f330bd9be0598f136eed05c811969.tar.bz2 chocolate-doom-16a0f227362f330bd9be0598f136eed05c811969.zip |
video: Fix crash when running fullscreen with -2.
Remove special logic for setting a scale factor (2x, 3x, etc.) when
running fullscreen instead of windowed. This fixes a crash due to the
fact that I_GraphicsCheckCommandLine() is called before SDL's video
subsystem is initialized.
This makes -2 identical to -geometry 640x480, which is arguably a
better (more easily comprehensible) behavior.
Thanks to Fabian Greffrath for reporting the bug. This fixes #338.
Diffstat (limited to 'src/hexen/info.h')
0 files changed, 0 insertions, 0 deletions