diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-09-24 15:40:26 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-09-24 15:40:30 +0200 |
commit | 819c3524a54fb4ba66aece2401b1d28fd14b6608 (patch) | |
tree | e61aafe07b3c6aee6a91dd12c5b845a12dec194a /main | |
parent | 93303737ac4675d401199183a3982e7511af461c (diff) |
OS: Remove unused get_splash_tick_msec
It was added in 3e20391bf607dc7c452b056854aed4a8c99ba0f6 but it doesn't seem
particularly useful, and it was only implemented for the custom splash branch
and not the default one, so it could return an uninitialized int.
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index a039283235..a2ea085618 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1569,7 +1569,6 @@ Error Main::setup2(Thread::ID p_main_tid_override) { Color boot_bg_color = GLOBAL_DEF("application/boot_splash/bg_color", boot_splash_bg_color); if (boot_logo.is_valid()) { - OS::get_singleton()->_msec_splash = OS::get_singleton()->get_ticks_msec(); RenderingServer::get_singleton()->set_boot_image(boot_logo, boot_bg_color, boot_logo_scale, boot_logo_filter); |