Skip to content

Commit

Permalink
- vid_scalemode 1 now only goes down to 640x400 at minimum, instead o…
Browse files Browse the repository at this point in the history
…f 320x200
  • Loading branch information
madame-rachelle committed Jan 4, 2020
1 parent 58acbfb commit cb7a097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendering/r_videoscale.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit cb7a097

Please sign in to comment.