浏览代码

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_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)

正在加载...
取消
保存