summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rtextures.c2
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)