summaryrefslogtreecommitdiffstats
path: root/platform/ios
diff options
context:
space:
mode:
authorFelipe Augusto Marques <felaugmar@gmail.com>2023-06-14 20:27:56 -0300
committerFelipe Augusto Marques <felaugmar@gmail.com>2023-06-23 00:43:43 -0300
commit26eb3db234ec6e16a954f34f6aa7e68e7a926848 (patch)
tree1a6839163663aa195858edef5900c3be8a28475d /platform/ios
parentf9fc77bbe474e33967dfde69a2efa442f465fae2 (diff)
downloadredot-engine-26eb3db234ec6e16a954f34f6aa7e68e7a926848.tar.gz
Added Image's `load_svg_from_(buffer|string)`
No core dependency to the svg module.
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/export/export_plugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/ios/export/export_plugin.cpp b/platform/ios/export/export_plugin.cpp
index 1b9b02d0e0..4860ef0ad7 100644
--- a/platform/ios/export/export_plugin.cpp
+++ b/platform/ios/export/export_plugin.cpp
@@ -1970,8 +1970,7 @@ EditorExportPlatformIOS::EditorExportPlatformIOS() {
Ref<Image> img = memnew(Image);
const bool upsample = !Math::is_equal_approx(Math::round(EDSCALE), EDSCALE);
- ImageLoaderSVG img_loader;
- img_loader.create_image_from_string(img, _ios_logo_svg, EDSCALE, upsample, false);
+ ImageLoaderSVG::create_image_from_string(img, _ios_logo_svg, EDSCALE, upsample, false);
logo = ImageTexture::create_from_image(img);
#endif