summaryrefslogtreecommitdiffstats
path: root/platform/ios/export
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-07-12 15:09:03 +0200
committerYuri Sizov <yuris@humnom.net>2023-07-12 15:09:03 +0200
commit6960a1d0e8dad8304c93129ecbfe9fe611e5440e (patch)
tree9ceb1acc6aca84fa63147b2e556a8f54cd7a5345 /platform/ios/export
parenta33b548092433dbeddc05003b3cbd3e0991107d8 (diff)
parent26eb3db234ec6e16a954f34f6aa7e68e7a926848 (diff)
downloadredot-engine-6960a1d0e8dad8304c93129ecbfe9fe611e5440e.tar.gz
Merge pull request #78248 from felaugmar/load-svg-adjustable-scale
Added `Image::load_svg_from_(buffer|string)`
Diffstat (limited to 'platform/ios/export')
-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 edc850e74f..456a137229 100644
--- a/platform/ios/export/export_plugin.cpp
+++ b/platform/ios/export/export_plugin.cpp
@@ -1978,8 +1978,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