mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 16:41:09 +00:00
- vid_scalemode 1 now only goes down to 640x400 at minimum, instead of 320x200
This commit is contained in:
parent
58acbfb6b5
commit
cb7a097ed4
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ namespace
|
|||
if (sx <= 0. || sy <= 0.)
|
||||
return 1.; // prevent x/0 error
|
||||
// set absolute minimum scale to fill the entire screen but get as close to 640x400 as possible
|
||||
float ssx = (float)(min_width) / sx, ssy = (float)(min_height) / sy;
|
||||
float ssx = (float)(VID_MIN_UI_WIDTH) / sx, ssy = (float)(VID_MIN_UI_HEIGHT) / sy;
|
||||
result = (ssx < ssy) ? ssy : ssx;
|
||||
lastsx = sx;
|
||||
lastsy = sy;
|
||||
|
|
Loading…
Reference in a new issue