diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-29 19:33:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-29 19:33:30 +0200 |
commit | da346ed4ad6939b4fef2d3babe23d9bb74fd4114 (patch) | |
tree | 515e3b7fb791f50749c835dba4ae950b527e8715 | |
parent | 482cdeaf718d77c24783a6b73281bfed886474ed (diff) | |
parent | 683b61b094e69979dd80a204a429f4a78bea1830 (diff) |
Merge pull request #59583 from V-Sekai/svg-crash
-rw-r--r-- | modules/svg/register_types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/svg/register_types.cpp b/modules/svg/register_types.cpp index a4341c6f1e..b59c815056 100644 --- a/modules/svg/register_types.cpp +++ b/modules/svg/register_types.cpp @@ -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); |