diff --git a/src/Magnum/Platform/EmscriptenApplication.cpp b/src/Magnum/Platform/EmscriptenApplication.cpp index ffa455a01..cefbc8c5f 100644 --- a/src/Magnum/Platform/EmscriptenApplication.cpp +++ b/src/Magnum/Platform/EmscriptenApplication.cpp @@ -565,15 +565,14 @@ void EmscriptenApplication::setupAnimationFrame(bool forceAnimationFrame) { } /* If redraw is requested, we will not cancel the already requested - animation frame. - If ForceAnimationFrame is set, we will request an animation frame - even if redraw is not requested. */ + animation frame. If ForceAnimationFrame is set, we will request + an animation frame even if redraw is not requested. */ if((app._flags & Flag::Redraw) && !(app._flags & Flag::ExitRequested)) { return true; } /* Cancel last requested animation frame and make redraw() - requestAnimationFrame again next time */ + requestAnimationFrame again next time */ app._flags &= ~Flag::LoopActive; return false; };