Merge pull request #37450 from SkyLucilfer/profilerBug
Fix profiler frame number stops updating when window is minimized
This commit is contained in:
commit
0826b63c7e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue