- remove assumption in DFrameBuffer::FillBorder that ultrawide screens will stretch an image, since it is no longer the case.

This commit is contained in:
Rachael Alexanderson 2020-03-22 06:47:34 -04:00 committed by drfrag
parent 90823fb824
commit 758e27e9b2

View file

@ -1112,12 +1112,6 @@ void DCanvas::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;