From 10e1600faf6282eaf5335138bc9fca792a85b773 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 27 Jul 2017 12:14:51 -0400 Subject: [PATCH] - Replaced one more vid_scalemode check with a more versatile ViewportIsScaled43 check --- src/v_video.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/v_video.cpp b/src/v_video.cpp index 182abde177..4bbe646ad9 100644 --- a/src/v_video.cpp +++ b/src/v_video.cpp @@ -1602,7 +1602,6 @@ CUSTOM_CVAR (Bool, vid_nowidescreen, false, CVAR_GLOBALCONFIG|CVAR_ARCHIVE) } } -EXTERN_CVAR (Int, vid_scalemode) CUSTOM_CVAR (Int, vid_aspect, 0, CVAR_GLOBALCONFIG|CVAR_ARCHIVE) { setsizeneeded = true; @@ -1629,7 +1628,7 @@ int ActiveFakeRatio(int width, int height) fakeratio = 3; } } - else if (vid_aspect == 0 && (vid_scalemode == 1 || vid_scalemode == 2)) + else if (vid_aspect == 0 && ViewportIsScaled43()) { fakeratio = 0; }