Skip to content

Commit

Permalink
- remove assumption in DFrameBuffer::FillBorder that ultrawide screen…
Browse files Browse the repository at this point in the history
…s will stretch an image, since it is no longer the case.
  • Loading branch information
madame-rachelle committed Mar 22, 2020
1 parent d19527c commit aa0df74
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/rendering/2d/v_draw.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit aa0df74

Please sign in to comment.