mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
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:
parent
6d0da8bb1a
commit
6e8e49d17f
1 changed files with 2 additions and 2 deletions
|
@ -478,9 +478,9 @@ BorderRefresh(PLAYERp pp)
|
||||||
// minus the border if necessary
|
// minus the border if necessary
|
||||||
|
|
||||||
// fill in the sides of the panel when the screen is wide
|
// 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;
|
x = 0;
|
||||||
x2 = xdim - 1;
|
x2 = xdim - 1;
|
||||||
|
|
Loading…
Reference in a new issue