Skip to content

Commit 0f39051

Browse files
authored
Fix uninitialized thread-locals in stbi #3282 (#3283)
1 parent ec6d3bb commit 0f39051

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rtextures.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@
147147
#define STBI_FREE RL_FREE
148148
#define STBI_REALLOC RL_REALLOC
149149

150+
#define STBI_NO_THREAD_LOCALS
151+
150152
#define STB_IMAGE_IMPLEMENTATION
151153
#include "external/stb_image.h" // Required for: stbi_load_from_file()
152154
// NOTE: Used to read image data (multiple formats support)

0 commit comments

Comments
 (0)