Ports: Disable SVG in ScummVM themes

The ScummVM modern remastered theme contains SVG images that are
rendered through NanoSVG. Somehow, the ScummVM logo gets all messed up,
but all other SVGs render nicely.

It takes a lot of time to debug NanoSVG, so disable loading SVGs in
themes for now so BMPs are used instead.
This commit is contained in:
Jelle Raaijmakers 2021-10-24 15:54:59 +02:00 committed by Linus Groh
parent 3941e4fe24
commit 5f5fe16d4b

View file

@ -0,0 +1,11 @@
--- scummvm-2.5.0/gui/ThemeParser.cpp 2021-10-24 15:45:46.993615827 +0200
+++ scummvm-2.5.0-patched/gui/ThemeParser.cpp 2021-10-24 15:53:54.569381046 +0200
@@ -299,8 +299,6 @@
}
Common::String scalableFile;
- if (node->values.contains("scalable_file"))
- scalableFile = node->values["scalable_file"];
int width = 0, height = 0;
Common::String val;