diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-07-29 22:30:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 22:30:51 +0200 |
commit | 15a02c49be7f552eb79512cff7511144023cedbe (patch) | |
tree | 009a554dc59b24d78df0b1303f6a7077f075913e /platform/macos/export/export_plugin.cpp | |
parent | d8f757c62deb85024047ebb5c28b59633adf9247 (diff) | |
parent | c3606cb5f3ab82248cac0d748bb291aa978b0b58 (diff) | |
download | redot-engine-15a02c49be7f552eb79512cff7511144023cedbe.tar.gz |
Merge pull request #61647 from KoBeWi/SaverResource
Diffstat (limited to 'platform/macos/export/export_plugin.cpp')
-rw-r--r-- | platform/macos/export/export_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cpp index fd0781ac50..ca979d071d 100644 --- a/platform/macos/export/export_plugin.cpp +++ b/platform/macos/export/export_plugin.cpp @@ -254,7 +254,7 @@ void EditorExportPlatformMacOS::_make_icon(const Ref<Image> &p_icon, Vector<uint // Encode PNG icon. it->set_image(copy); String path = EditorPaths::get_singleton()->get_cache_dir().plus_file("icon.png"); - ResourceSaver::save(path, it); + ResourceSaver::save(it, path); { Ref<FileAccess> f = FileAccess::open(path, FileAccess::READ); |