1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Don't toggle VSync twice

The vsync variable is already toggled in toggleVSync(). Whoops.
This commit is contained in:
Misa 2021-10-29 12:24:10 -07:00
parent d0992e18a4
commit 75e031cef0

View file

@ -609,7 +609,6 @@ static void menuactionpress(void)
#if SDL_VERSION_ATLEAST(2, 0, 17)
//toggle vsync
music.playef(11);
graphics.screenbuffer->vsync = !graphics.screenbuffer->vsync;
graphics.screenbuffer->toggleVSync();
game.savestatsandsettings_menu();
#endif