mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Don't toggle VSync twice
The vsync variable is already toggled in toggleVSync(). Whoops.
This commit is contained in:
parent
d0992e18a4
commit
75e031cef0
1 changed files with 0 additions and 1 deletions
|
@ -609,7 +609,6 @@ static void menuactionpress(void)
|
||||||
#if SDL_VERSION_ATLEAST(2, 0, 17)
|
#if SDL_VERSION_ATLEAST(2, 0, 17)
|
||||||
//toggle vsync
|
//toggle vsync
|
||||||
music.playef(11);
|
music.playef(11);
|
||||||
graphics.screenbuffer->vsync = !graphics.screenbuffer->vsync;
|
|
||||||
graphics.screenbuffer->toggleVSync();
|
graphics.screenbuffer->toggleVSync();
|
||||||
game.savestatsandsettings_menu();
|
game.savestatsandsettings_menu();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue