- 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:
parent
8bb36bd479
commit
a3a65f184f
2 changed files with 44 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue