diff options
author | SkyJJ <jjchai01@hotmail.com> | 2020-03-31 03:49:29 +0200 |
---|---|---|
committer | SkyJJ <jjchai01@hotmail.com> | 2020-03-31 03:49:29 +0200 |
commit | c1ee20a05d20b06ade0ebfe7f64c923549005499 (patch) | |
tree | dd2ab5db1973bbe552472cfb772029b478ad1c52 /core | |
parent | dfed5efea3b5646cfca6662e52cf20c54558eb42 (diff) |
Fix profiler frame number stops updating when window is minimized
Diffstat (limited to 'core')
-rw-r--r-- | core/debugger/remote_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp index 66b890be23..285cbb17ff 100644 --- a/core/debugger/remote_debugger.cpp +++ b/core/debugger/remote_debugger.cpp @@ -318,7 +318,7 @@ struct RemoteDebugger::ServersProfiler { void _send_frame_data(bool p_final) { DebuggerMarshalls::ServersProfilerFrame frame; - frame.frame_number = Engine::get_singleton()->get_frames_drawn(); + frame.frame_number = Engine::get_singleton()->get_idle_frames(); frame.frame_time = frame_time; frame.idle_time = idle_time; frame.physics_time = physics_time; |