diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/stb.cpp | 2 | ||||
| -rw-r--r-- | src/common/stb.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/common/stb.cpp b/src/common/stb.cpp index c80cc2526d..59e709e57d 100644 --- a/src/common/stb.cpp +++ b/src/common/stb.cpp @@ -7,6 +7,4 @@ #define STB_IMAGE_IMPLEMENTATION 1 #define STB_IMAGE_RESIZE_IMPLEMENTATION 1 #define STB_IMAGE_WRITE_IMPLEMENTATION 1 -#define STBI_ONLY_JPEG 1 - #include "common/stb.h" diff --git a/src/common/stb.h b/src/common/stb.h index c2b5f54de5..bc8f651426 100644 --- a/src/common/stb.h +++ b/src/common/stb.h @@ -7,6 +7,7 @@ #pragma once #define STBI_ONLY_JPEG 1 +#define STBI_WRITE_NO_STDIO 1 #include <stb_image.h> #include <stb_image_resize.h> #include <stb_image_write.h> |
