Browse Source

Platform: doc++

pull/349/head
Vladimír Vondruš 7 years ago
parent
commit
4c6ebeeef4
  1. 7
      src/Magnum/Platform/EmscriptenApplication.cpp

7
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;
};

Loading…
Cancel
Save