mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Don't toggle VSync twice
The vsync variable is already toggled in toggleVSync(). Whoops.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user