Remove VSync toggle ifdefs

These ifdefs can go away now that our minimum SDL version is 2.0.20.
This commit is contained in:
Misa
2021-11-11 23:54:00 -08:00
committed by Ethan Lee
parent 38d25c0850
commit 470a4358ef
2 changed files with 0 additions and 9 deletions

View File

@@ -662,13 +662,10 @@ static void menuactionpress(void)
if (game.currentmenuoption == offset + 5)
{
processed = true;
/* FIXME: Upgrade to SDL 2.0.18 and remove this ifdef when it releases! */
#if SDL_VERSION_ATLEAST(2, 0, 17)
//toggle vsync
music.playef(11);
gameScreen.toggleVSync();
game.savestatsandsettings_menu();
#endif
}
if (!processed)
{