mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
Merge pull request #35 from Sak32009/patch-stb-image-resize2-as-static
compile stb_image_resize2 as static library
This commit is contained in:
commit
dcc1a5c63f
@ -17,14 +17,17 @@
|
|||||||
|
|
||||||
#include "dll/local_storage.h"
|
#include "dll/local_storage.h"
|
||||||
|
|
||||||
|
#if defined(__WINDOWS__)
|
||||||
|
// NOTE: stb_image_write
|
||||||
|
#define STBIW_WINDOWS_UTF8
|
||||||
|
// NOTE: stb_image
|
||||||
|
#define STBI_WINDOWS_UTF8
|
||||||
|
#endif
|
||||||
|
|
||||||
#define STB_IMAGE_IMPLEMENTATION
|
#define STB_IMAGE_IMPLEMENTATION
|
||||||
#define STB_IMAGE_STATIC
|
#define STB_IMAGE_STATIC
|
||||||
#define STBI_ONLY_PNG
|
#define STBI_ONLY_PNG
|
||||||
#define STBI_ONLY_JPEG
|
#define STBI_ONLY_JPEG
|
||||||
#if defined(__WINDOWS__)
|
|
||||||
#define STBI_WINDOWS_UTF8
|
|
||||||
#define STBIW_WINDOWS_UTF8
|
|
||||||
#endif
|
|
||||||
#include "stb/stb_image.h"
|
#include "stb/stb_image.h"
|
||||||
|
|
||||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||||
@ -32,6 +35,7 @@
|
|||||||
#include "stb/stb_image_write.h"
|
#include "stb/stb_image_write.h"
|
||||||
|
|
||||||
#define STB_IMAGE_RESIZE_IMPLEMENTATION
|
#define STB_IMAGE_RESIZE_IMPLEMENTATION
|
||||||
|
#define STB_IMAGE_RESIZE_STATIC
|
||||||
#include "stb/stb_image_resize2.h"
|
#include "stb/stb_image_resize2.h"
|
||||||
|
|
||||||
struct File_Data {
|
struct File_Data {
|
||||||
|
Loading…
Reference in New Issue
Block a user