aboutsummaryrefslogtreecommitdiff
path: root/src/stb_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stb_image.cpp')
-rw-r--r--src/stb_image.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stb_image.cpp b/src/stb_image.cpp
index cf4a748..2b951e7 100644
--- a/src/stb_image.cpp
+++ b/src/stb_image.cpp
@@ -1,3 +1,6 @@
#define STB_IMAGE_IMPLEMENTATION
#define STBI_FAILURE_USERMSG
+#ifdef _WIN32
+# define STBI_WINDOWS_UTF8
+#endif
#include <stb_image.h>