From 3ac48ea1a702e12cf63426c5b8eb13bd90946802 Mon Sep 17 00:00:00 2001 From: leejet Date: Sat, 6 Apr 2024 16:37:08 +0800 Subject: [PATCH] fix: use static implementation of stb_image_resize --- examples/cli/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/cli/main.cpp b/examples/cli/main.cpp index 2a3613a..aad6ae0 100644 --- a/examples/cli/main.cpp +++ b/examples/cli/main.cpp @@ -17,6 +17,8 @@ #define STB_IMAGE_WRITE_STATIC #include "stb_image_write.h" +#define STB_IMAGE_RESIZE_IMPLEMENTATION +#define STB_IMAGE_RESIZE_STATIC #include "stb_image_resize.h" const char* rng_type_to_str[] = {