From d3339b688080c4847d976a14750f750eb1e97f69 Mon Sep 17 00:00:00 2001 From: coco875 <59367621+coco875@users.noreply.github.com> Date: Tue, 5 Aug 2025 22:44:45 +0200 Subject: [PATCH] same for image write --- lib/n64graphics/n64graphics.c | 1 - lib/n64graphics/stb_image_write.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 lib/n64graphics/stb_image_write.c diff --git a/lib/n64graphics/n64graphics.c b/lib/n64graphics/n64graphics.c index e7f6102..78842e4 100644 --- a/lib/n64graphics/n64graphics.c +++ b/lib/n64graphics/n64graphics.c @@ -10,7 +10,6 @@ #define STBI_NO_HDR #define STBI_NO_TGA #include -#define STB_IMAGE_WRITE_IMPLEMENTATION #include #include "n64graphics.h" diff --git a/lib/n64graphics/stb_image_write.c b/lib/n64graphics/stb_image_write.c new file mode 100644 index 0000000..2f540c3 --- /dev/null +++ b/lib/n64graphics/stb_image_write.c @@ -0,0 +1,2 @@ +#define STB_IMAGE_WRITE_IMPLEMENTATION +#include \ No newline at end of file