Skip to content

Commit

Permalink
Fix uninitialized thread-locals in stbi raysan5#3282
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarthelmes authored Sep 2, 2023
1 parent ec6d3bb commit 54a6332
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rtextures.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 54a6332

Please sign in to comment.