mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
define STBIR_NO_SIMD when __TINYC__ is defined so stb_image_resize2 will not include *mmintrin which are not supported by all compilers. There are similar checks for __TINYC__ already elswere in raylib and they are also mostly there to disable SIMD headers. Additionally, move similar check for stb_image, to be a little bit deeper. Before it was defining STBI_NO_SIMD without including stb_image It was also clashing with note, causing said note to make no sense. Fixes: https://github.com/raysan5/raylib/discussions/2994 Reference: https://github.com/nothings/stb/issues/1738