mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
End benchmark of Main::Setup properly before calling setup2
This commit is contained in:
parent
e25f3c0d38
commit
baf1cdabd1
1 changed files with 2 additions and 1 deletions
|
@ -2459,11 +2459,12 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
|||
}
|
||||
#endif
|
||||
|
||||
OS::get_singleton()->benchmark_end_measure("Startup", "Main::Setup");
|
||||
|
||||
if (p_second_phase) {
|
||||
return setup2();
|
||||
}
|
||||
|
||||
OS::get_singleton()->benchmark_end_measure("Startup", "Main::Setup");
|
||||
return OK;
|
||||
|
||||
error:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue