Fix max FPS order for iOS STK
This commit is contained in:
@@ -311,9 +311,9 @@ float MainLoop::getLimitedDt()
|
||||
// For iOS devices most at locked at 60, for new iPad Pro supports 120
|
||||
// which is currently m_max_fps
|
||||
const int max_fps =
|
||||
UserConfigParams::m_swap_interval == 2 ? 30 :
|
||||
UserConfigParams::m_swap_interval == 2 ? UserConfigParams::m_max_fps :
|
||||
UserConfigParams::m_swap_interval == 1 ? 60 :
|
||||
UserConfigParams::m_max_fps;
|
||||
30;
|
||||
#else
|
||||
const int max_fps = (irr_driver->isRecording() &&
|
||||
UserConfigParams::m_limit_game_fps )
|
||||
|
||||
Reference in New Issue
Block a user