1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 23:48:30 +02:00

Fix overdraw bug in tower background

This could happen if you held down ACTION in the credits, looks like the
background doesn't keep up for some reason. That's another bug to fix,
but at least I can fix this overdraw.
This commit is contained in:
Misa 2020-05-02 12:32:20 -07:00 committed by Ethan Lee
parent 69b3a5dff2
commit 45fecf71b2

View File

@ -2379,6 +2379,7 @@ void Graphics::drawtowerspikes()
void Graphics::drawtowerbackground()
{
FillRect(backBuffer, 0x000000);
SDL_BlitSurface(towerbuffer, NULL, towerbuffer_lerp, NULL);
ScrollSurface(towerbuffer_lerp, 0, lerp(0, -map.bscroll));
SDL_BlitSurface(towerbuffer_lerp,NULL, backBuffer,NULL);