Simple-OpenGL-Image-Library icon indicating copy to clipboard operation
Simple-OpenGL-Image-Library copied to clipboard

stb_image might not be thread safe

Open giordi91 opened this issue 8 years ago • 2 comments

I am currently hitting what it looks like some kind of race condition inside stbi_load. basically at random a deep assertion gets fired inside stbi_load, I bypassed soil and used the latest stb_image.h file and the problem looks like is gone. might be worth to update the implementation? also right now it is just an header file, should not be much of an issue?

M.

giordi91 avatar May 21 '16 10:05 giordi91

The latest version on http://lonesock.net/soil.html is 2008, what version are you referring to?

kbranigan avatar May 21 '16 13:05 kbranigan

I think i was off the latest on master.

This is the commit ID i was from:

0a9a66106a3c0535bbdb1d10aa0b34829ba724f8

giordi91 avatar May 21 '16 17:05 giordi91