Browse Source

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

pull/3284/head
Johannes Barthelmes 1 year ago
committed by GitHub
parent
commit
0f39051562
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/rtextures.c

+ 2
- 0
src/rtextures.c 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)

Loading…
Cancel
Save