summaryrefslogtreecommitdiff
path: root/src/vendor
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-08-31 15:10:19 -0400
committerJonathan Bradley <jcb@pikum.xyz>2023-09-06 17:22:19 -0400
commit4955f728f282e6730193e307a50f8ae174a432c3 (patch)
tree37d18530aae9382e35046246784d2f7b92103b4d /src/vendor
parent6a5c90864dcddd924488c4b5ded34ab6bd7863dd (diff)
add stb_image
Diffstat (limited to 'src/vendor')
-rw-r--r--src/vendor/stb_image_include.cpp5
-rw-r--r--src/vendor/stb_image_include.hpp7
2 files changed, 12 insertions, 0 deletions
diff --git a/src/vendor/stb_image_include.cpp b/src/vendor/stb_image_include.cpp
new file mode 100644
index 0000000..10a18b4
--- /dev/null
+++ b/src/vendor/stb_image_include.cpp
@@ -0,0 +1,5 @@
+
+#define STB_IMAGE_IMPLEMENTATION
+#define STB_IMAGE_WRITE_IMPLEMENTATION
+
+#include "stb_image_include.hpp"
diff --git a/src/vendor/stb_image_include.hpp b/src/vendor/stb_image_include.hpp
new file mode 100644
index 0000000..cfea99a
--- /dev/null
+++ b/src/vendor/stb_image_include.hpp
@@ -0,0 +1,7 @@
+#ifndef PKE_VENDOR_STB_IMAGE_INCLUDE_HPP
+#define PKE_VENDOR_STB_IMAGE_INCLUDE_HPP
+
+#include "stb_image.h"
+#include "stb_image_write.h"
+
+#endif /* PKE_VENDOR_STB_IMAGE_INCLUDE_HPP */