Merge pull request #45664 from naithar/fix/ios-plugin-initialization

[3.2] [iOS] Earlier plugin initialization
This commit is contained in:
Rémi Verschelde 2021-02-02 17:30:26 +01:00 committed by GitHub
commit 6ab03c4f9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,6 +114,8 @@ int OSIPhone::get_current_video_driver() const {
}
void OSIPhone::start() {
godot_ios_plugins_initialize();
Main::start();
if (joypad_iphone) {
@ -195,8 +197,6 @@ MainLoop *OSIPhone::get_main_loop() const {
};
void OSIPhone::set_main_loop(MainLoop *p_main_loop) {
godot_ios_plugins_initialize();
main_loop = p_main_loop;
if (main_loop) {