Move tcc check to textures.c
Avoiding to change stb_image.h
This commit is contained in:
parent
50b2479980
commit
53a54463e8
|
|
@ -102,6 +102,10 @@
|
||||||
#define STBI_NO_PIC
|
#define STBI_NO_PIC
|
||||||
#define STBI_NO_PNM // Image format .ppm and .pgm
|
#define STBI_NO_PNM // Image format .ppm and .pgm
|
||||||
|
|
||||||
|
#if defined(__TINYC__)
|
||||||
|
#define STBI_NO_SIMD
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined(SUPPORT_FILEFORMAT_BMP) || \
|
#if (defined(SUPPORT_FILEFORMAT_BMP) || \
|
||||||
defined(SUPPORT_FILEFORMAT_PNG) || \
|
defined(SUPPORT_FILEFORMAT_PNG) || \
|
||||||
defined(SUPPORT_FILEFORMAT_TGA) || \
|
defined(SUPPORT_FILEFORMAT_TGA) || \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user