mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
SW: Avoid a one-pixel tall hall of mirrors above the full status bar
git-svn-id: https://svn.eduke32.com/eduke32@8355 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
007d16712c
commit
5624c9b5b0
1 changed files with 3 additions and 4 deletions
|
@ -441,10 +441,9 @@ static void BorderSetView(PLAYERp, int *Xdim, int *Ydim, int *ScreenSize)
|
|||
y = DIV2(*Ydim) - DIV2((*ScreenSize **Ydim) / *Xdim);
|
||||
y2 = y + ((*ScreenSize **Ydim) / *Xdim) - 1;
|
||||
|
||||
if (ydim == 480 && gs.BorderNum == 2)
|
||||
{
|
||||
y2+=2;
|
||||
}
|
||||
// avoid a one-pixel tall HOM
|
||||
if (gs.BorderNum == BORDER_BAR)
|
||||
++y2;
|
||||
|
||||
// global windowxy1, windowxy2 coords set here
|
||||
videoSetViewableArea(x, y, x2, y2);
|
||||
|
|
Loading…
Reference in a new issue