mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +00:00
- Replaced one more vid_scalemode check with a more versatile ViewportIsScaled43 check
This commit is contained in:
parent
5795e0fd3e
commit
10e1600faf
1 changed files with 1 additions and 2 deletions
|
@ -1602,7 +1602,6 @@ CUSTOM_CVAR (Bool, vid_nowidescreen, false, CVAR_GLOBALCONFIG|CVAR_ARCHIVE)
|
|||
}
|
||||
}
|
||||
|
||||
EXTERN_CVAR (Int, vid_scalemode)
|
||||
CUSTOM_CVAR (Int, vid_aspect, 0, CVAR_GLOBALCONFIG|CVAR_ARCHIVE)
|
||||
{
|
||||
setsizeneeded = true;
|
||||
|
@ -1629,7 +1628,7 @@ int ActiveFakeRatio(int width, int height)
|
|||
fakeratio = 3;
|
||||
}
|
||||
}
|
||||
else if (vid_aspect == 0 && (vid_scalemode == 1 || vid_scalemode == 2))
|
||||
else if (vid_aspect == 0 && ViewportIsScaled43())
|
||||
{
|
||||
fakeratio = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue