mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-31 22:19:44 +01:00
Fix screen shake during flip mode not flipping the screen
This fixes a regression introduced by #923 where flip mode no longer flips the screen while the screen is shaking.
This commit is contained in:
parent
73a80a9b4f
commit
de43005676
1 changed files with 4 additions and 1 deletions
|
@ -3200,7 +3200,10 @@ void Graphics::screenshake(void)
|
|||
}
|
||||
|
||||
set_render_target(NULL);
|
||||
copy_texture(tempTexture, NULL, NULL);
|
||||
set_blendmode(SDL_BLENDMODE_NONE);
|
||||
clear();
|
||||
|
||||
copy_texture(tempTexture, NULL, NULL, 0, NULL, flipmode ? SDL_FLIP_VERTICAL : SDL_FLIP_NONE);
|
||||
}
|
||||
|
||||
void Graphics::updatescreenshake(void)
|
||||
|
|
Loading…
Reference in a new issue