diff --git a/src/rendering/r_videoscale.cpp b/src/rendering/r_videoscale.cpp index 5a3f228a5..0fd616580 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;