Closed junjie020 closed 8 months ago
Build a texturec in debug mode, and use this command line:
texturec.exe -f d:/test.png -o d:/main.dds -t BC3 -q fastest --max 256 -m
It will cause assert in stb_image_resize.h: https://github.com/bkaradzic/bimg/blob/master/3rdparty/stb/stb_image_resize.h#L1106
I try to update stb_image_resize.h from: https://github.com/nothings/stb/blob/master/deprecated/stb_image_resize.h
It fix this issue.
Updated: https://github.com/bkaradzic/bimg/commit/02356d893f7969172ef54642faf1b73d6895b48e
Build a texturec in debug mode, and use this command line:
texturec.exe -f d:/test.png -o d:/main.dds -t BC3 -q fastest --max 256 -m
It will cause assert in stb_image_resize.h: https://github.com/bkaradzic/bimg/blob/master/3rdparty/stb/stb_image_resize.h#L1106
I try to update stb_image_resize.h from: https://github.com/nothings/stb/blob/master/deprecated/stb_image_resize.h
It fix this issue.