summaryrefslogtreecommitdiff
path: root/gfx/models/stb_image.c
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-11-26 00:39:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-11-26 00:39:53 +0000
commit669cdbc6e606313efe1a38caba7cb10d3b2f23fe (patch)
tree0e73ed38a241794d2dc7674f12800a39298f6c79 /gfx/models/stb_image.c
parentInclude stb directly (diff)
downloadilt-669cdbc6e606313efe1a38caba7cb10d3b2f23fe.tar.bz2
ilt-669cdbc6e606313efe1a38caba7cb10d3b2f23fe.tar.xz
ilt-669cdbc6e606313efe1a38caba7cb10d3b2f23fe.zip
Compile generated/external code as release
Moves stb stuff to .c then all .ll and .c built release mode, neatly disables all the warnings
Diffstat (limited to 'gfx/models/stb_image.c')
-rw-r--r--gfx/models/stb_image.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gfx/models/stb_image.c b/gfx/models/stb_image.c
new file mode 100644
index 0000000..c15369e
--- /dev/null
+++ b/gfx/models/stb_image.c
@@ -0,0 +1,4 @@
+#ifndef TIDY
+# define STB_IMAGE_IMPLEMENTATION
+# include "stb/stb_image.h"
+#endif