fix stb multiple impl

This commit is contained in:
Concedo 2025-12-20 12:05:50 +08:00
parent 17b4b888d0
commit d69db26b44

View file

@ -20,7 +20,7 @@ namespace fs = std::filesystem;
#include "stable-diffusion.h"
#define STB_IMAGE_IMPLEMENTATION
// #define STB_IMAGE_IMPLEMENTATION
//#define STB_IMAGE_STATIC
#include "stb_image.h"
@ -28,7 +28,7 @@ namespace fs = std::filesystem;
//#define STB_IMAGE_WRITE_STATIC
#include "stb_image_write.h"
#define STB_IMAGE_RESIZE_IMPLEMENTATION
// #define STB_IMAGE_RESIZE_IMPLEMENTATION
//#define STB_IMAGE_RESIZE_STATIC
#include "stb_image_resize.h"