From 408cb35b1ff2e36fb81fbd29ad6160882af9d13c Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 16 Oct 2023 18:30:35 +0200 Subject: [PATCH] 4:3 conversion of 4:3 Integer scale now always preserves the width. --- src/qt/qt_renderercommon.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/qt/qt_renderercommon.cpp b/src/qt/qt_renderercommon.cpp index 19a6d359f..cebda184c 100644 --- a/src/qt/qt_renderercommon.cpp +++ b/src/qt/qt_renderercommon.cpp @@ -81,13 +81,8 @@ RendererCommon::onResize(int width, int height) gsr = gw / gh; if (video_fullscreen_scale == FULLSCR_SCALE_INT43) { - if (r43 <= gsr) { - gw = gh * r43; - gh = gh; - } else { - gh = gw / r43; - gw = gw; - } + gh = gw / r43; + gw = gw; gsr = r43; }