You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #91901 from akien-mga/scons-thorvg-webp-loader-opt-out
thorvg: Disable webp loader if corresponding module is disabled
This commit is contained in:
4
thirdparty/thorvg/inc/config.h
vendored
4
thirdparty/thorvg/inc/config.h
vendored
@@ -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
|
||||
|
||||
|
||||
4
thirdparty/thorvg/update-thorvg.sh
vendored
4
thirdparty/thorvg/update-thorvg.sh
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user