Fix 5:4 aspect ratio gun and status bar
This commit is contained in:
parent
ba68cfd611
commit
172f58c165
6 changed files with 21 additions and 13 deletions
|
|
@ -318,7 +318,7 @@ void R_SWRSetWindow(int windowSize, int fullWidth, int fullHeight, int stHeight,
|
|||
virtwidth = virtwidth2 = fullWidth;
|
||||
virtheight = virtheight2 = fullHeight;
|
||||
|
||||
if (trueratio < 1.3f)
|
||||
if (Is54Aspect(trueratio))
|
||||
{
|
||||
virtheight2 = virtheight2 * AspectMultiplier(trueratio) / 48;
|
||||
}
|
||||
|
|
@ -327,7 +327,7 @@ void R_SWRSetWindow(int windowSize, int fullWidth, int fullHeight, int stHeight,
|
|||
virtwidth2 = virtwidth2 * AspectMultiplier(trueratio) / 48;
|
||||
}
|
||||
|
||||
if (WidescreenRatio < 1.3f)
|
||||
if (Is54Aspect(WidescreenRatio))
|
||||
{
|
||||
virtheight = virtheight * AspectMultiplier(WidescreenRatio) / 48;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue