mirror of
https://github.com/SFML/SFML.git
synced 2025-02-07 17:08:02 +08:00
ea7408e1ee
Closes #1711 - race condition on stbi_failure_reason() This does not only avoid the race condition on the failure string itself, but also makes failure state thread-local, meaning that each string will be correctly associated with the last image it failed to load.