compile flags for stb image
[vg.git] / vg_tex.h
index 14042a583c4a90fe2d6de384054faeee14106074..ac5920a480c126f806eabe453dc9f4dfe86eee84 100644 (file)
--- a/vg_tex.h
+++ b/vg_tex.h
@@ -48,6 +48,7 @@
 #endif
 
 #define STBI_ONLY_JPEG
+#define STBI_NO_THREAD_LOCALS
 #define STB_IMAGE_IMPLEMENTATION
 #include "vg/submodules/stb/stb_image.h"