You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Added Image's load_svg_from_(buffer|string)
No core dependency to the svg module.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user