mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
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:
parent
3941e4fe24
commit
5f5fe16d4b
1 changed files with 11 additions and 0 deletions
11
Ports/scummvm/patches/ThemeParser-disable-svg.patch
Normal file
11
Ports/scummvm/patches/ThemeParser-disable-svg.patch
Normal 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;
|
Loading…
Reference in a new issue