mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
fix end buffer being visible in rightmost column in melt wipe (#2137)
Fixes #2059
This commit is contained in:
parent
a2606a1677
commit
8d87277247
11
src/f_wipe.c
11
src/f_wipe.c
@ -246,6 +246,17 @@ int wipe_renderMelt(int width, int height, int ticks)
|
||||
}
|
||||
}
|
||||
|
||||
for (currcol = wipe_columns * horizblocksize / 100; currcol < width; ++currcol)
|
||||
{
|
||||
pixel_t *dest = wipe_scr + currcol;
|
||||
|
||||
for (int i = 0; i < height; ++i)
|
||||
{
|
||||
*dest = v_darkest_color;
|
||||
dest += video.pitch;
|
||||
}
|
||||
}
|
||||
|
||||
return done;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user