Hello Guest

stbi_write_hdr crashes

  • 3 Replies
  • 285 Views
stbi_write_hdr crashes
« 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?

*

Offline spasi

  • *****
  • 2042
    • WebHotelier
Re: stbi_write_hdr crashes
« Reply #1 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!

*

Offline spasi

  • *****
  • 2042
    • WebHotelier
Re: stbi_write_hdr crashes
« Reply #2 on: June 14, 2018, 17:19:48 »
LWJGL 3.1.7 build 9 is now available, could you please verify that it works?

Re: stbi_write_hdr crashes
« Reply #3 on: June 14, 2018, 23:15:33 »
I can confirm that stbi_write_hdr and stbi_loadf are working fine for me.