mirror of
https://github.com/godotengine/godot.git
synced 2026-03-31 21:35:13 +00:00
Merge pull request #59583 from V-Sekai/svg-crash
This commit is contained in:
@@ -38,7 +38,7 @@ static ImageLoaderSVG *image_loader_svg = nullptr;
|
||||
|
||||
void register_svg_types() {
|
||||
tvg::CanvasEngine tvgEngine = tvg::CanvasEngine::Sw;
|
||||
if (tvg::Initializer::init(tvgEngine, 0) != tvg::Result::Success) {
|
||||
if (tvg::Initializer::init(tvgEngine, 1) != tvg::Result::Success) {
|
||||
return;
|
||||
}
|
||||
image_loader_svg = memnew(ImageLoaderSVG);
|
||||
|
||||
Reference in New Issue
Block a user