From 8e918bd915fd6bbd7ab7c328bd6a3213584e4bdc Mon Sep 17 00:00:00 2001 From: coco875 <59367621+coco875@users.noreply.github.com> Date: Tue, 5 Aug 2025 23:12:48 +0200 Subject: [PATCH] Update n64graphics.c --- lib/n64graphics/n64graphics.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/n64graphics/n64graphics.c b/lib/n64graphics/n64graphics.c index 78842e4..5d29305 100644 --- a/lib/n64graphics/n64graphics.c +++ b/lib/n64graphics/n64graphics.c @@ -10,6 +10,10 @@ #define STBI_NO_HDR #define STBI_NO_TGA #include +// intern function +extern unsigned char *stbi_write_png_to_mem(const unsigned char *pixels, int stride_bytes, int x, int y, int n, int *out_len); +extern unsigned char *stbi_write_plte_png_to_mem(const unsigned char *pixels, int stride_bytes, int x, int y, int n, pixel* plte, int plte_size, int *out_len); + #include #include "n64graphics.h"