kbranigan / Simple-OpenGL-Image-Library

Simple image uploader primarily for OpenGL
http://lonesock.net/soil.html
242 stars 105 forks source link

stb_image might not be thread safe #13

Open giordi91 opened 8 years ago

giordi91 commented 8 years ago

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.

kbranigan commented 8 years ago

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

giordi91 commented 8 years ago

I think i was off the latest on master.

This is the commit ID i was from:

0a9a66106a3c0535bbdb1d10aa0b34829ba724f8