Fix uninitialized thread-locals in stbi #3282 (#3283)

This commit is contained in:
Johannes Barthelmes 2023-09-02 11:41:33 +02:00 committed by GitHub
parent ec6d3bb688
commit 0f39051562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,6 +147,8 @@
#define STBI_FREE RL_FREE #define STBI_FREE RL_FREE
#define STBI_REALLOC RL_REALLOC #define STBI_REALLOC RL_REALLOC
#define STBI_NO_THREAD_LOCALS
#define STB_IMAGE_IMPLEMENTATION #define STB_IMAGE_IMPLEMENTATION
#include "external/stb_image.h" // Required for: stbi_load_from_file() #include "external/stb_image.h" // Required for: stbi_load_from_file()
// NOTE: Used to read image data (multiple formats support) // NOTE: Used to read image data (multiple formats support)