- fixed scale calculations for option menus.

This commit is contained in:
Christoph Oelckers 2019-04-07 13:33:31 +02:00
parent c3b927e502
commit f4f1c4abbf
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ void V_UpdateModeSize (int width, int height)
else if (w >= 1600 && w < 1920) factor = 3; else if (w >= 1600 && w < 1920) factor = 3;
else factor = w / 640; else factor = w / 640;
CleanYfac_1 = CleanXfac_1 = MAX(1, int (CleanXfac * 0.7)); CleanYfac_1 = CleanXfac_1 = MAX(1, int (factor * 0.7));
CleanWidth_1 = width / CleanXfac_1; CleanWidth_1 = width / CleanXfac_1;
CleanHeight_1 = height / CleanYfac_1; CleanHeight_1 = height / CleanYfac_1;