stb
stb copied to clipboard
stb_image_resize: Fix edge reflect overflow
trafficstars
Noticed that my lowest mipmaps contained random colors after switching to STBIR_EDGE_REFLECT. I believe this is the correct fix, but please correct me if I'm wrong. Cheers!
Has this patch been reviewed / well-tested?
Reviewed - not as far as I know. Tested - it worked for me on Windows and Linux. We were using the EDGE_REFLECT mode only rarely, though.
OK, thanks.
Looks like this was fixed in stb_image_resize2