Set STB_IMAGE_STATIC

Reduce global namespace clutter.

...Man, I wish other single-header-file libs had an option like this
- this is a big part of why the new miniaudio backend's been causing
so many problems lately.
This commit is contained in:
Clownacy 2020-03-05 00:04:47 +00:00
parent d57850d937
commit 27d82e9762

View file

@ -3,6 +3,7 @@
#include <stddef.h> #include <stddef.h>
#define STB_IMAGE_IMPLEMENTATION #define STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_STATIC
#define STBI_ONLY_BMP #define STBI_ONLY_BMP
#define STBI_NO_LINEAR #define STBI_NO_LINEAR
#include "stb_image.h" #include "stb_image.h"