SW: Modify the border-drawing code to work with our widescreen code.

git-svn-id: https://svn.eduke32.com/eduke32@5208 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2015-05-19 22:03:47 +00:00
parent 6d0da8bb1a
commit 6e8e49d17f
1 changed files with 2 additions and 2 deletions

View File

@ -478,9 +478,9 @@ BorderRefresh(PLAYERp pp)
// minus the border if necessary
// fill in the sides of the panel when the screen is wide
if (gs.BorderNum >= BORDER_BAR && widescreen)
if (gs.BorderNum >= BORDER_BAR && r_usenewaspect)
{
int sidew = (xdim - scale(320, ydim, mulscale16(200, pixelaspect))) / 2;
const int sidew = (xdim - scale(4, ydim, 3)) / 2;
x = 0;
x2 = xdim - 1;