diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-17 11:14:00 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-17 11:14:00 +0200 |
commit | c4889e4793b6e1b5a3fce265bd12eb6c14cfca60 (patch) | |
tree | abb04d02cf8eb6a3b1d81de8a09ae0094f098a4a /thirdparty | |
parent | b201c7fc137efd54b35060fcd3e78f5dbf46b8d6 (diff) | |
parent | 831ebda80692e66fd1c0e049f105ed525316fad9 (diff) | |
download | redot-engine-c4889e4793b6e1b5a3fce265bd12eb6c14cfca60.tar.gz |
Merge pull request #91901 from akien-mga/scons-thorvg-webp-loader-opt-out
thorvg: Disable webp loader if corresponding module is disabled
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 |