mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- added special handling for vid_scalemode == [1||2] to force video aspect scaling off unless the user explicitly specified an aspect override.
This commit is contained in:
parent
b30b93f40f
commit
45a37211e4
1 changed files with 5 additions and 0 deletions
|
@ -1604,6 +1604,7 @@ 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;
|
||||
|
@ -1630,6 +1631,10 @@ int ActiveFakeRatio(int width, int height)
|
|||
fakeratio = 3;
|
||||
}
|
||||
}
|
||||
else if (vid_aspect == 0 && (vid_scalemode == 1 || vid_scalemode == 2))
|
||||
{
|
||||
fakeratio = 0;
|
||||
}
|
||||
if (vid_nowidescreen)
|
||||
{
|
||||
if (!vid_tft)
|
||||
|
|
Loading…
Reference in a new issue