The emscripten compat headers work by transparently augmenting imports and including the original headers via `#include_next`.
The search path for emscripten places `system/include/compat` before `system/include`, and so importing with `compat/ctype.h` causes the preprocessor to skip over `system/include/compat` and land the search cursor on `system/include`, which then causes the subsequent `#include_next <ctype.h>` lookup to fail while processing the compat header.
Fixesemscripten-core/emscripten#13109 and bkaradzic/bgfx#2336.
- When parsing, set m_srgb flag on the ImageContainer if the image
is in an sRGB format.
- When writing, take a new srgb parameter. If set, use the appropriate
sRGB format.
- Update astc to 57af6af from https://github.com/andrewwillmott/astc-encoder
- Expand bimg::Quality to include source-as-normal-map
modes, intended as a hint to the encoder.
- Hook this up for ASTC, and in texturec
- Add 3rdparty/astc with lib version of the standard encoder
- Add astc_compress call for ASTC formats
- Add BIMG_CONFIG_ASTC_DECODE-gated decompression support. This is just for
testing, the decompress code is currently too heavy to include in the core lib.
- Add fourcc support for DDS decode so ASTC and other formats not covered by
dxgi can be read
- Add --formats option to texturec, lists all supported formats
- Update genie files -- add astc to bimg_encode and remove redundant files from
texturec