From 8157242b748b4e4d0ecc2caa9dd37e48346cdb63 Mon Sep 17 00:00:00 2001 From: panzhongxian Date: Wed, 1 Jun 2022 11:29:33 +0800 Subject: [PATCH] Enable using outside USE_STB_IMAGE_LOAD definition --- EtcLib/Etc/EtcConfig.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EtcLib/Etc/EtcConfig.h b/EtcLib/Etc/EtcConfig.h index 6ce1b8c..3e46ae1 100644 --- a/EtcLib/Etc/EtcConfig.h +++ b/EtcLib/Etc/EtcConfig.h @@ -55,7 +55,9 @@ typedef double f64; // 0=disable. stb_image can be used if you need to compress //other image formats like jpg +#ifndef USE_STB_IMAGE_LOAD #define USE_STB_IMAGE_LOAD 0 +#endif #if ETC_WINDOWS #include