mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
fix the garbage columns when the aspect ratio correction is turned off (#1695)
This commit is contained in:
parent
ebf69cd6a8
commit
18693bc95b
@ -713,9 +713,7 @@ void F_BunnyScroll (void)
|
||||
|
||||
if (SHORT(p2->width) == SCREENWIDTH)
|
||||
{
|
||||
V_FillRect(0, 0, video.deltaw, SCREENHEIGHT, v_darkest_color);
|
||||
V_FillRect(video.unscaledw - video.deltaw, 0,
|
||||
video.deltaw, SCREENHEIGHT, v_darkest_color);
|
||||
V_FillRect(0, 0, video.unscaledw, SCREENHEIGHT, v_darkest_color);
|
||||
}
|
||||
|
||||
if (finalecount < 1130)
|
||||
|
@ -417,7 +417,7 @@ void ST_refreshBackground(void)
|
||||
for (x = 0; x < video.deltaw; x += 8)
|
||||
{
|
||||
V_DrawPatch(x - video.deltaw, 0, patch);
|
||||
V_DrawPatch(SCREENWIDTH + video.deltaw - x - 8, 0, patch);
|
||||
V_DrawPatch(video.unscaledw - video.deltaw - x - 8, 0, patch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -660,9 +660,7 @@ void V_DrawPatchFullScreen(patch_t *patch)
|
||||
// [crispy] fill pillarboxes in widescreen mode
|
||||
if (video.unscaledw != NONWIDEWIDTH)
|
||||
{
|
||||
V_FillRect(0, 0, video.deltaw, SCREENHEIGHT, v_darkest_color);
|
||||
V_FillRect(video.unscaledw - video.deltaw, 0, video.deltaw,
|
||||
SCREENHEIGHT, v_darkest_color);
|
||||
V_FillRect(0, 0, video.unscaledw, SCREENHEIGHT, v_darkest_color);
|
||||
}
|
||||
|
||||
drawcolfunc = V_DrawPatchColumn;
|
||||
|
Loading…
x
Reference in New Issue
Block a user