LWJGL Forum

Programming => Bug Reports / RFE => Topic started by: xsupermetroidx on June 11, 2018, 13:02:09

Title: stbi_write_hdr crashes
Post by: xsupermetroidx on June 11, 2018, 13:02:09
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?
Title: Re: stbi_write_hdr crashes
Post by: spasi on June 11, 2018, 20:32:01
It's a bug in stb_image_write.h, will be fixed in the next 3.1.7 snapshot.

Thanks!
Title: Re: stbi_write_hdr crashes
Post by: spasi on June 14, 2018, 17:19:48
LWJGL 3.1.7 build 9 is now available, could you please verify that it works?
Title: Re: stbi_write_hdr crashes
Post by: xsupermetroidx on June 14, 2018, 23:15:33
I can confirm that stbi_write_hdr and stbi_loadf are working fine for me.