yyc12345
9dd46b88d9
- use a nasty way to update stb-image library (do not use new resize library, use moved depracted one. because idk how to program with new one. that lack doc).
14 lines
401 B
C++
14 lines
401 B
C++
/**
|
|
* \file
|
|
* This file extract all stb-image implementations used by this project.
|
|
* Because std-image is a header-only library.
|
|
* It use macro to control whether extract implementation.
|
|
*/
|
|
|
|
#define STB_IMAGE_IMPLEMENTATION
|
|
#include <stb_image.h>
|
|
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
|
#include <stb_image_write.h>
|
|
#define STB_IMAGE_RESIZE_IMPLEMENTATION
|
|
#include <deprecated/stb_image_resize.h>
|