- use stb-image to handle PNGs with 16 bit color channels.

It is still not recommended to use this format - images tend to be huge and setup time is normally prohibitive - but at least they work now.
This commit is contained in:
Christoph Oelckers 2021-05-19 19:20:51 +02:00
commit a3a65f184f
2 changed files with 44 additions and 8 deletions

View file

@ -37,7 +37,7 @@
#define STBI_NO_STDIO
// Undefine formats we do not want to support here.
#define STBI_NO_JPEG
#define STBI_NO_PNG
//#define STBI_NO_PNG we need PNG for 16 bit channel images. Regular ones still use our own, more flexible decoder.
#define STBI_NO_TGA
#define STBI_NO_PSD
#define STBI_NO_HDR