From 0123228c20b505b8252298a7cc1500a7f8c1333c Mon Sep 17 00:00:00 2001 From: QwertyChouskie Date: Mon, 27 Mar 2017 18:56:20 -0700 Subject: [PATCH] Set menu FPS to 60 (#2823) Smoother, see https://github.com/supertuxkart/stk-code/issues/2302. --- src/main_loop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_loop.cpp b/src/main_loop.cpp index 70fcef956..6f97697f2 100644 --- a/src/main_loop.cpp +++ b/src/main_loop.cpp @@ -119,7 +119,7 @@ float MainLoop::getLimitedDt() // When in menus, reduce FPS much, it's not necessary to push to the maximum for plain menus const int max_fps = (irr_driver->isRecording() && UserConfigParams::m_limit_game_fps ? UserConfigParams::m_record_fps : - StateManager::get()->throttleFPS() ? 30 : UserConfigParams::m_max_fps); + StateManager::get()->throttleFPS() ? 60 : UserConfigParams::m_max_fps); if (dt > 0) { const int current_fps = (int)(1000.0f / dt);