mirror of
https://github.com/tiennm99/godot.git
synced 2026-06-19 23:44:21 +00:00
a1fe6d6899
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.