Merge pull request #45664 from naithar/fix/ios-plugin-initialization
[3.2] [iOS] Earlier plugin initialization
This commit is contained in:
commit
6ab03c4f9f
1 changed files with 2 additions and 2 deletions
|
@ -114,6 +114,8 @@ int OSIPhone::get_current_video_driver() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void OSIPhone::start() {
|
void OSIPhone::start() {
|
||||||
|
godot_ios_plugins_initialize();
|
||||||
|
|
||||||
Main::start();
|
Main::start();
|
||||||
|
|
||||||
if (joypad_iphone) {
|
if (joypad_iphone) {
|
||||||
|
@ -195,8 +197,6 @@ MainLoop *OSIPhone::get_main_loop() const {
|
||||||
};
|
};
|
||||||
|
|
||||||
void OSIPhone::set_main_loop(MainLoop *p_main_loop) {
|
void OSIPhone::set_main_loop(MainLoop *p_main_loop) {
|
||||||
godot_ios_plugins_initialize();
|
|
||||||
|
|
||||||
main_loop = p_main_loop;
|
main_loop = p_main_loop;
|
||||||
|
|
||||||
if (main_loop) {
|
if (main_loop) {
|
||||||
|
|
Loading…
Reference in a new issue