Sfoglia il codice sorgente

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

pull/3284/head
Johannes Barthelmes 2 anni fa
committed by GitHub
parent
commit
0f39051562
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/rtextures.c

+ 2
- 0
src/rtextures.c Vedi File

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

Caricamento…
Annulla
Salva