diff options
| author | Johannes Barthelmes <[email protected]> | 2023-09-02 11:41:33 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-02 11:41:33 +0200 |
| commit | 0f39051562909875d97a0156eef5d760f34d6390 (patch) | |
| tree | 932ee8b45cbf1459a2b5568b2d7d3c488643af2c /src | |
| parent | ec6d3bb688ae8c137152eca7cdef9885badd9bee (diff) | |
| download | raylib-0f39051562909875d97a0156eef5d760f34d6390.tar.gz raylib-0f39051562909875d97a0156eef5d760f34d6390.zip | |
Fix uninitialized thread-locals in stbi #3282 (#3283)
Diffstat (limited to 'src')
| -rw-r--r-- | src/rtextures.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rtextures.c b/src/rtextures.c index b88aeb15..a97cb0b3 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -147,6 +147,8 @@ #define STBI_FREE RL_FREE #define STBI_REALLOC RL_REALLOC + #define STBI_NO_THREAD_LOCALS + #define STB_IMAGE_IMPLEMENTATION #include "external/stb_image.h" // Required for: stbi_load_from_file() // NOTE: Used to read image data (multiple formats support) |
