diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index b666fcab..8c701863 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -367,6 +367,7 @@ void menuactionpress() game.over30mode = !game.over30mode; game.savestats(); break; +#ifndef __HAIKU__ // FIXME: Remove after SDL VSync bug is fixed! -flibit case 6: //toggle vsync music.playef(11); @@ -374,6 +375,7 @@ void menuactionpress() graphics.screenbuffer->resetRendererWorkaround(); game.savestats(); break; +#endif default: //back music.playef(11); diff --git a/desktop_version/src/Render.cpp b/desktop_version/src/Render.cpp index 41003cc1..741a0e22 100644 --- a/desktop_version/src/Render.cpp +++ b/desktop_version/src/Render.cpp @@ -228,6 +228,7 @@ void menurender() graphics.Print(-1, 95, "Current mode: Over 30 FPS", tr, tg, tb, true); } break; +#ifndef __HAIKU__ // FIXME: Remove after SDL VSync bug is fixed! -flibit case 6: graphics.bigprint(-1, 30, "Toggle VSync", tr, tg, tb, true); graphics.Print(-1, 65, "Turn VSync on or off.", tr, tg, tb, true); @@ -241,6 +242,7 @@ void menurender() graphics.Print(-1, 95, "Current mode: VSYNC ON", tr, tg, tb, true); } break; +#endif } break; case Menu::credits: