|
|
|
@ -565,9 +565,8 @@ void EmscriptenApplication::setupAnimationFrame(bool forceAnimationFrame) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* If redraw is requested, we will not cancel the already requested
|
|
|
|
/* If redraw is requested, we will not cancel the already requested
|
|
|
|
animation frame. |
|
|
|
animation frame. If ForceAnimationFrame is set, we will request |
|
|
|
If ForceAnimationFrame is set, we will request an animation frame |
|
|
|
an animation frame even if redraw is not requested. */ |
|
|
|
even if redraw is not requested. */ |
|
|
|
|
|
|
|
if((app._flags & Flag::Redraw) && !(app._flags & Flag::ExitRequested)) { |
|
|
|
if((app._flags & Flag::Redraw) && !(app._flags & Flag::ExitRequested)) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|