summaryrefslogtreecommitdiff
path: root/src/strife/r_sky.c
diff options
context:
space:
mode:
authorSimon Howard2014-03-27 21:59:00 -0400
committerSimon Howard2014-03-27 21:59:00 -0400
commit16a0f227362f330bd9be0598f136eed05c811969 (patch)
tree2da5a3557aa33edde4d8e32ed41f607f1cc8d856 /src/strife/r_sky.c
parent5412004bfa32864c1034e81ee7b093d8887850f5 (diff)
downloadchocolate-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/strife/r_sky.c')
0 files changed, 0 insertions, 0 deletions