Fix profiler frame number stops updating when window is minimized

(cherry picked from commit c1ee20a05d)
This commit is contained in:
SkyJJ 2020-03-31 03:49:29 +02:00 committed by Rémi Verschelde
parent 233997aac5
commit 92df8cc83a

View file

@ -917,7 +917,7 @@ void ScriptDebuggerRemote::_send_profiling_data(bool p_for_frame) {
packet_peer_stream->put_var(8 + to_send * 4); packet_peer_stream->put_var(8 + to_send * 4);
} }
packet_peer_stream->put_var(Engine::get_singleton()->get_frames_drawn()); //total frame time packet_peer_stream->put_var(Engine::get_singleton()->get_idle_frames()); //total frame time
packet_peer_stream->put_var(frame_time); //total frame time packet_peer_stream->put_var(frame_time); //total frame time
packet_peer_stream->put_var(idle_time); //idle frame time packet_peer_stream->put_var(idle_time); //idle frame time
packet_peer_stream->put_var(physics_time); //fixed frame time packet_peer_stream->put_var(physics_time); //fixed frame time