From 88a733181e73573dcd684dd0ed6a8690e1cad31a Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Wed, 1 Jul 2015 16:54:59 -0700 Subject: [PATCH] Fixing comment to reflect code --- interface/src/Application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 261055dc60..9db6188404 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1845,8 +1845,9 @@ void Application::idle() { _idleLoopStdev.reset(); } - // After finishing all of the above work, restart the idle timer, allowing 2ms to process events. } + // After finishing all of the above work, ensure the idle timer is set to the proper interval, + // depending on whether we're throttling or not idleTimer->start(_glWidget->isThrottleRendering() ? THROTTLED_IDLE_TIMER_DELAY : 0); }