mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-17 16:39:42 +01: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:
parent
69b3a5dff2
commit
45fecf71b2
1 changed files with 1 additions and 0 deletions
|
@ -2379,6 +2379,7 @@ void Graphics::drawtowerspikes()
|
||||||
|
|
||||||
void Graphics::drawtowerbackground()
|
void Graphics::drawtowerbackground()
|
||||||
{
|
{
|
||||||
|
FillRect(backBuffer, 0x000000);
|
||||||
SDL_BlitSurface(towerbuffer, NULL, towerbuffer_lerp, NULL);
|
SDL_BlitSurface(towerbuffer, NULL, towerbuffer_lerp, NULL);
|
||||||
ScrollSurface(towerbuffer_lerp, 0, lerp(0, -map.bscroll));
|
ScrollSurface(towerbuffer_lerp, 0, lerp(0, -map.bscroll));
|
||||||
SDL_BlitSurface(towerbuffer_lerp,NULL, backBuffer,NULL);
|
SDL_BlitSurface(towerbuffer_lerp,NULL, backBuffer,NULL);
|
||||||
|
|
Loading…
Reference in a new issue