thorvg: Disable webp loader if corresponding module is disabled

Fixes #91873.
This commit is contained in:
Rémi Verschelde
2024-05-13 12:55:21 +02:00
parent c6f1f614bb
commit 831ebda806
3 changed files with 16 additions and 6 deletions

View File

@ -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