From aa0df7479e09535107d52bd1987f52638c99e43d Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sun, 22 Mar 2020 06:47:34 -0400 Subject: [PATCH] - remove assumption in DFrameBuffer::FillBorder that ultrawide screens will stretch an image, since it is no longer the case. --- src/rendering/2d/v_draw.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/rendering/2d/v_draw.cpp b/src/rendering/2d/v_draw.cpp index 473db44a8..13589073f 100644 --- a/src/rendering/2d/v_draw.cpp +++ b/src/rendering/2d/v_draw.cpp @@ -1120,12 +1120,6 @@ void DFrameBuffer::FillBorder (FTexture *img) { float myratio = ActiveRatio (Width, Height); - // if 21:9 AR, fill borders akin to 16:9, since all fullscreen - // images are being drawn to that scale. - if (myratio > 1.7f) { - myratio = 16 / 9.0f; - } - if (myratio >= 1.3f && myratio <= 1.4f) { // This is a 4:3 display, so no border to show return;