diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 1028fe142c..c4a0bba2b4 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -1833,7 +1833,7 @@ bool LLAppViewer::doFrame() // FIRE-22297: FPS limiter not working properly on Mac/Linux static LLCachedControl max_fps(gSavedSettings, "FramePerSecondLimit"); static LLCachedControl fsLimitFramerate(gSavedSettings, "FSLimitFramerate"); - if (fsLimitFramerate && LLStartUp::getStartupState() == STATE_STARTED && !gTeleportDisplay && !logoutRequestSent()) + if (fsLimitFramerate && LLStartUp::getStartupState() == STATE_STARTED && !gTeleportDisplay && !logoutRequestSent() && max_fps > F_APPROXIMATELY_ZERO) { // Sleep a while to limit frame rate. F32 min_frame_time = 1.f / (F32)max_fps;