21:9 aspect ratio support

- vid_aspect 6 forces 21:9
This commit is contained in:
Michael Labbe 2016-03-02 02:31:12 -08:00 committed by Randy Heit
commit 97821a3036
8 changed files with 31 additions and 16 deletions

View file

@ -434,7 +434,7 @@ void R_SetWindow (int windowSize, int fullWidth, int fullHeight, int stHeight)
centery = viewheight/2;
centerx = viewwidth/2;
if (WidescreenRatio & 4)
if (Is54Aspect(WidescreenRatio))
{
centerxwide = centerx;
}