diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-07-08 16:50:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-08 16:50:47 +0200 |
commit | d26442e709f6361af9ac755ec9291bb43f2cd69b (patch) | |
tree | f84384f85f9f4a329ffd892b4a6a238e932f161e /platform/iphone/export/export_plugin.cpp | |
parent | 697805af54f3d25195617a513e18ec3a4f9fe0c6 (diff) | |
parent | d2900429e81175a9f48240b180f1d8e3ab52865c (diff) |
Merge pull request #60739 from KoBeWi/add_static_methods_everywhere!!
Diffstat (limited to 'platform/iphone/export/export_plugin.cpp')
-rw-r--r-- | platform/iphone/export/export_plugin.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/platform/iphone/export/export_plugin.cpp b/platform/iphone/export/export_plugin.cpp index 4cf1c279eb..3b92bd19be 100644 --- a/platform/iphone/export/export_plugin.cpp +++ b/platform/iphone/export/export_plugin.cpp @@ -1838,12 +1838,8 @@ bool EditorExportPlatformIOS::can_export(const Ref<EditorExportPreset> &p_preset } EditorExportPlatformIOS::EditorExportPlatformIOS() { - Ref<Image> img = memnew(Image(_iphone_logo)); - logo.instantiate(); - logo->create_from_image(img); - + logo = ImageTexture::create_from_image(memnew(Image(_iphone_logo))); plugins_changed.set(); - check_for_changes_thread.start(_check_for_changes_poll_thread, this); } |