summaryrefslogtreecommitdiff
path: root/gfx/models/stb_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/models/stb_image.cpp')
-rw-r--r--gfx/models/stb_image.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/gfx/models/stb_image.cpp b/gfx/models/stb_image.cpp
new file mode 100644
index 0000000..1daf279
--- /dev/null
+++ b/gfx/models/stb_image.cpp
@@ -0,0 +1,9 @@
+#ifndef TIDY
+# define STB_IMAGE_IMPLEMENTATION
+# pragma GCC diagnostic ignored "-Wsign-compare"
+# pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
+# ifndef __clang__
+# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+# endif
+# include "stb_image.h"
+#endif