mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Merge pull request #645 from InfoTeddy/general-bug-fixes-2
Reverse menu animation direction in Flip Mode
This commit is contained in:
commit
bf3b141cfc
1 changed files with 1 additions and 1 deletions
|
@ -2829,7 +2829,7 @@ void Graphics::menuoffrender(void)
|
||||||
BlitSurfaceStandard(tempbufferFlipped, NULL, backBuffer, NULL);
|
BlitSurfaceStandard(tempbufferFlipped, NULL, backBuffer, NULL);
|
||||||
SDL_FreeSurface(tempbufferFlipped);
|
SDL_FreeSurface(tempbufferFlipped);
|
||||||
SDL_Rect offsetRect;
|
SDL_Rect offsetRect;
|
||||||
setRect (offsetRect, 0, usethisoffset, backBuffer->w ,backBuffer->h);
|
setRect (offsetRect, 0, -usethisoffset, backBuffer->w ,backBuffer->h);
|
||||||
SDL_Surface* temp = FlipSurfaceVerticle(menubuffer);
|
SDL_Surface* temp = FlipSurfaceVerticle(menubuffer);
|
||||||
BlitSurfaceStandard(temp,NULL,backBuffer,&offsetRect);
|
BlitSurfaceStandard(temp,NULL,backBuffer,&offsetRect);
|
||||||
SDL_FreeSurface(temp);
|
SDL_FreeSurface(temp);
|
||||||
|
|
Loading…
Reference in a new issue