stbi_write_hdr crashes

Started by xsupermetroidx, June 11, 2018, 13:02:09

Previous topic - Next topic

xsupermetroidx

I was happy to see that stbi supports reading/writing HDR images, but as it turns out, attempting to use stbi_write_hdr (float array or floatbuffer variant) simply crashes the JVM. Writing pngs works fine, though. Has this functionality been tested to work?

spasi

It's a bug in stb_image_write.h, will be fixed in the next 3.1.7 snapshot.

Thanks!

spasi

LWJGL 3.1.7 build 9 is now available, could you please verify that it works?

xsupermetroidx

I can confirm that stbi_write_hdr and stbi_loadf are working fine for me.