diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-08-05 23:12:48 +0200 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2025-08-06 09:16:54 -0600 |
| commit | 8e918bd915fd6bbd7ab7c328bd6a3213584e4bdc (patch) | |
| tree | b69ec261a196ca6278fc6b9b09163ff0a1896bd7 /lib | |
| parent | d3339b688080c4847d976a14750f750eb1e97f69 (diff) | |
Update n64graphics.c
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/n64graphics/n64graphics.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <stb_image.h> +// 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 <stb_image_write.h> #include "n64graphics.h" |
