diff options
author | pommicket <pommicket@gmail.com> | 2025-02-20 11:16:17 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-02-20 11:16:17 -0500 |
commit | ac07499111c726c34bf2b9eab3d348e2fc591b63 (patch) | |
tree | 031c9ad2fb4edd96e626038a84c66ca71c213fe3 /3rd_party/stb_image.c | |
parent | e19574ce7766cd754b42808c36cc88fd0f510033 (diff) |
switch to libjpeg
Diffstat (limited to '3rd_party/stb_image.c')
-rw-r--r-- | 3rd_party/stb_image.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/3rd_party/stb_image.c b/3rd_party/stb_image.c deleted file mode 100644 index e0ee732..0000000 --- a/3rd_party/stb_image.c +++ /dev/null @@ -1,25 +0,0 @@ -#ifdef __GNUC__ -#define no_warn_start _Pragma("GCC diagnostic push") \ - _Pragma("GCC diagnostic ignored \"-Wpedantic\"") \ - _Pragma("GCC diagnostic ignored \"-Wsign-conversion\"") \ - _Pragma("GCC diagnostic ignored \"-Wsign-compare\"") \ - _Pragma("GCC diagnostic ignored \"-Wconversion\"") \ - _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") \ - _Pragma("GCC diagnostic ignored \"-Wunused-function\"") \ - _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") - -#define no_warn_end _Pragma("GCC diagnostic pop") -#else -#define no_warn_start -#define no_warn_end -#endif - -#define STB_IMAGE_IMPLEMENTATION -#define STBI_ONLY_JPEG -#define STBI_NO_STDIO -#if __TINYC__ -#define STBI_NO_SIMD -#endif -no_warn_start -#include "stb_image.h" -no_warn_end |