You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
OS: Remove unused get_splash_tick_msec
It was added in 3e20391bf6 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.
This commit is contained in:
@@ -519,10 +519,6 @@ uint64_t _OS::get_ticks_usec() const {
|
||||
return OS::get_singleton()->get_ticks_usec();
|
||||
}
|
||||
|
||||
uint32_t _OS::get_splash_tick_msec() const {
|
||||
return OS::get_singleton()->get_splash_tick_msec();
|
||||
}
|
||||
|
||||
bool _OS::can_use_threads() const {
|
||||
return OS::get_singleton()->can_use_threads();
|
||||
}
|
||||
@@ -730,7 +726,6 @@ void _OS::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("delay_msec", "msec"), &_OS::delay_msec);
|
||||
ClassDB::bind_method(D_METHOD("get_ticks_msec"), &_OS::get_ticks_msec);
|
||||
ClassDB::bind_method(D_METHOD("get_ticks_usec"), &_OS::get_ticks_usec);
|
||||
ClassDB::bind_method(D_METHOD("get_splash_tick_msec"), &_OS::get_splash_tick_msec);
|
||||
ClassDB::bind_method(D_METHOD("get_locale"), &_OS::get_locale);
|
||||
ClassDB::bind_method(D_METHOD("get_model_name"), &_OS::get_model_name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user