diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-13 12:55:21 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-13 13:01:34 +0200 |
commit | 831ebda80692e66fd1c0e049f105ed525316fad9 (patch) | |
tree | 571f539f2f49d750d292859eaf12b8b7be64790a /thirdparty | |
parent | c6f1f614bbab9334675026fe21f5af4951b9c890 (diff) | |
download | redot-engine-831ebda80692e66fd1c0e049f105ed525316fad9.tar.gz |
thorvg: Disable webp loader if corresponding module is disabled
Fixes #91873.
Diffstat (limited to 'thirdparty')
-rw-r--r-- | thirdparty/thorvg/inc/config.h | 4 | ||||
-rwxr-xr-x | thirdparty/thorvg/update-thorvg.sh | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/thirdparty/thorvg/inc/config.h b/thirdparty/thorvg/inc/config.h index f271b52faf..3ae166cf22 100644 --- a/thirdparty/thorvg/inc/config.h +++ b/thirdparty/thorvg/inc/config.h @@ -5,9 +5,11 @@ #define THORVG_SVG_LOADER_SUPPORT #define THORVG_PNG_LOADER_SUPPORT #define THORVG_JPG_LOADER_SUPPORT -#define THORVG_WEBP_LOADER_SUPPORT #define THORVG_THREAD_SUPPORT +// Added conditionally if webp module is enabled. +//#define THORVG_WEBP_LOADER_SUPPORT + // For internal debugging: //#define THORVG_LOG_ENABLED diff --git a/thirdparty/thorvg/update-thorvg.sh b/thirdparty/thorvg/update-thorvg.sh index 23604afbcd..796060d3fb 100755 --- a/thirdparty/thorvg/update-thorvg.sh +++ b/thirdparty/thorvg/update-thorvg.sh @@ -38,9 +38,11 @@ cat << EOF > ../inc/config.h #define THORVG_SVG_LOADER_SUPPORT #define THORVG_PNG_LOADER_SUPPORT #define THORVG_JPG_LOADER_SUPPORT -#define THORVG_WEBP_LOADER_SUPPORT #define THORVG_THREAD_SUPPORT +// Added conditionally if webp module is enabled. +//#define THORVG_WEBP_LOADER_SUPPORT + // For internal debugging: //#define THORVG_LOG_ENABLED |