You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Add static methods for creating Image and ImageTexture
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user