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:
parent
d57850d937
commit
27d82e9762
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue