You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
End benchmark of Main::Setup properly before calling setup2
This commit is contained in:
@@ -2459,11 +2459,12 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
OS::get_singleton()->benchmark_end_measure("Startup", "Main::Setup");
|
||||||
|
|
||||||
if (p_second_phase) {
|
if (p_second_phase) {
|
||||||
return setup2();
|
return setup2();
|
||||||
}
|
}
|
||||||
|
|
||||||
OS::get_singleton()->benchmark_end_measure("Startup", "Main::Setup");
|
|
||||||
return OK;
|
return OK;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
|||||||
Reference in New Issue
Block a user