You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Increase coverage of timestamps for visual profiler
This commit is contained in:
@@ -80,6 +80,7 @@ void RenderingServerDefault::_draw(bool p_swap_buffers, double frame_step) {
|
||||
|
||||
uint64_t time_usec = OS::get_singleton()->get_ticks_usec();
|
||||
|
||||
RENDER_TIMESTAMP("Prepare Render Frame");
|
||||
RSG::scene->update(); //update scenes stuff before updating instances
|
||||
|
||||
frame_setup_time = double(OS::get_singleton()->get_ticks_usec() - time_usec) / 1000.0;
|
||||
|
||||
Reference in New Issue
Block a user