Skip to content

Commit 8d87277

Browse files
fix end buffer being visible in rightmost column in melt wipe (#2137)
Fixes #2059
1 parent a2606a1 commit 8d87277

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/f_wipe.c

+11
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,17 @@ int wipe_renderMelt(int width, int height, int ticks)
246246
}
247247
}
248248

249+
for (currcol = wipe_columns * horizblocksize / 100; currcol < width; ++currcol)
250+
{
251+
pixel_t *dest = wipe_scr + currcol;
252+
253+
for (int i = 0; i < height; ++i)
254+
{
255+
*dest = v_darkest_color;
256+
dest += video.pitch;
257+
}
258+
}
259+
249260
return done;
250261
}
251262

0 commit comments

Comments
 (0)