summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-11-07 16:41:25 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-11-07 16:41:25 +0000
commit91dc82dc65c15c29faa48c69681487142dc1ab35 (patch)
tree719d314a7141152004905ad6169ccc81d245f2b3 /gfx
parentBump GCC version (diff)
downloadilt-91dc82dc65c15c29faa48c69681487142dc1ab35.tar.bz2
ilt-91dc82dc65c15c29faa48c69681487142dc1ab35.tar.xz
ilt-91dc82dc65c15c29faa48c69681487142dc1ab35.zip
Compile stb wrapper in C++ mode
Diffstat (limited to 'gfx')
-rw-r--r--gfx/models/stb_image.cpp (renamed from gfx/models/stb_image.c)1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/models/stb_image.c b/gfx/models/stb_image.cpp
index a839b61..1daf279 100644
--- a/gfx/models/stb_image.c
+++ b/gfx/models/stb_image.cpp
@@ -1,6 +1,7 @@
#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