- 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:
Rachael Alexanderson 2017-07-23 10:49:13 -04:00
parent b30b93f40f
commit 45a37211e4

View file

@ -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)