瀏覽代碼

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

pull/3284/head
Johannes Barthelmes 1 年之前
committed by GitHub
父節點
當前提交
0f39051562
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      src/rtextures.c

+ 2
- 0
src/rtextures.c 查看文件

@ -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…
取消
儲存