mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Prevent stb_image from exporting public symbols in the love dll
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user