fix end buffer being visible in rightmost column in melt wipe (#2137)

Fixes #2059
This commit is contained in:
Fabian Greffrath 2025-01-10 09:58:09 +01:00 committed by GitHub
parent a2606a1677
commit 8d87277247
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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; return done;
} }