From cb7a097ed4d4ed894d3013ee133957dabdd465f7 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sat, 4 Jan 2020 15:05:26 -0500 Subject: [PATCH] - vid_scalemode 1 now only goes down to 640x400 at minimum, instead of 320x200 --- src/rendering/r_videoscale.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/r_videoscale.cpp b/src/rendering/r_videoscale.cpp index 5a3f228a5b..0fd6165807 100644 --- a/src/rendering/r_videoscale.cpp +++ b/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;