1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00
Files
godot/platform/javascript
Fabio Alessandrelli 6c1c2ed414 [HTML5] Fix target_fps when window loses focus.
We don't get updates when the window is unfocused/minimized, so we must
detect the situation where the counted ticks start drifting away
resulting in more frames drawn than needed.
This commit adds a check to ensure that the target ticks do not drift
away more than one second.

(cherry picked from commit a1fe6d6899)
2021-05-09 17:14:36 +02:00
..
2021-04-06 12:56:45 +02:00
2021-01-04 17:01:42 -06:00
2021-02-18 11:58:08 +01:00
2021-02-18 11:58:08 +01:00
2021-04-06 12:56:45 +02:00
2021-02-26 15:35:45 +01:00
2021-02-26 15:35:45 +01:00