From f4f1c4abbfc6bf6274e8d9ad87589d2f4d09506e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 7 Apr 2019 13:33:31 +0200 Subject: [PATCH] - fixed scale calculations for option menus. --- src/v_video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v_video.cpp b/src/v_video.cpp index 22cb48593..cf27d3f39 100644 --- a/src/v_video.cpp +++ b/src/v_video.cpp @@ -559,7 +559,7 @@ void V_UpdateModeSize (int width, int height) else if (w >= 1600 && w < 1920) factor = 3; 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; CleanHeight_1 = height / CleanYfac_1;