Prevent stb_image from exporting public symbols in the love dll

This commit is contained in:
Alex Szpakowski
2020-03-07 16:09:40 -04:00
parent e0ff593d09
commit 5db1e835ce
+2 -1
View File
@@ -30,12 +30,13 @@ static void loveSTBIAssert(bool test, const char *teststr)
}
// stb_image
#define STBI_ONLY_JPEG
#define STBI_ONLY_JPEG
// #define STBI_ONLY_PNG
#define STBI_ONLY_BMP
#define STBI_ONLY_TGA
#define STBI_ONLY_HDR
#define STBI_NO_STDIO
#define STB_IMAGE_STATIC
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ASSERT(A) loveSTBIAssert((A), #A)
#include "libraries/stb/stb_image.h"