Skip to content
Permalink
Browse files

- vid_scalemode 1 now only goes down to 640x400 at minimum, instead o…

…f 320x200
  • Loading branch information
madame-rachelle committed Jan 4, 2020
1 parent 58acbfb commit cb7a097ed4d4ed894d3013ee133957dabdd465f7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rendering/r_videoscale.cpp
@@ -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;

0 comments on commit cb7a097

Please sign in to comment.
You can’t perform that action at this time.