21:9 aspect ratio support
- vid_aspect 6 forces 21:9
This commit is contained in:
parent
e3d35f4fe8
commit
97821a3036
8 changed files with 31 additions and 16 deletions
|
|
@ -816,7 +816,7 @@ void DCanvas::FillBorder (FTexture *img)
|
|||
return;
|
||||
}
|
||||
int bordtop, bordbottom, bordleft, bordright, bord;
|
||||
if (myratio & 4)
|
||||
if (Is54Aspect(myratio))
|
||||
{ // Screen is taller than it is wide
|
||||
bordleft = bordright = 0;
|
||||
bord = Height - Height * BaseRatioSizes[myratio][3] / 48;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue