virtualx-engine/thirdparty/thorvg/inc/config.h
Fabio Alessandrelli c95bd2d264 [Web] Disable thorvg threads on the Web
They're of little help, and just adds to the possibility of causing
deadlocks.
2024-06-14 16:03:56 +02:00

19 lines
433 B
C++

#ifndef THORVG_CONFIG_H
#define THORVG_CONFIG_H
#define THORVG_SW_RASTER_SUPPORT
#define THORVG_SVG_LOADER_SUPPORT
#define THORVG_PNG_LOADER_SUPPORT
#define THORVG_JPG_LOADER_SUPPORT
#ifndef WEB_ENABLED
#define THORVG_THREAD_SUPPORT
#endif
// Added conditionally if webp module is enabled.
//#define THORVG_WEBP_LOADER_SUPPORT
// For internal debugging:
//#define THORVG_LOG_ENABLED
#define THORVG_VERSION_STRING "0.13.7"
#endif