|
@@ -30,12 +30,13 @@ static void loveSTBIAssert(bool test, const char *teststr)
|
|
}
|
|
}
|
|
|
|
|
|
// stb_image
|
|
// stb_image
|
|
- #define STBI_ONLY_JPEG
|
|
|
|
|
|
+#define STBI_ONLY_JPEG
|
|
// #define STBI_ONLY_PNG
|
|
// #define STBI_ONLY_PNG
|
|
#define STBI_ONLY_BMP
|
|
#define STBI_ONLY_BMP
|
|
#define STBI_ONLY_TGA
|
|
#define STBI_ONLY_TGA
|
|
#define STBI_ONLY_HDR
|
|
#define STBI_ONLY_HDR
|
|
#define STBI_NO_STDIO
|
|
#define STBI_NO_STDIO
|
|
|
|
+#define STB_IMAGE_STATIC
|
|
#define STB_IMAGE_IMPLEMENTATION
|
|
#define STB_IMAGE_IMPLEMENTATION
|
|
#define STBI_ASSERT(A) loveSTBIAssert((A), #A)
|
|
#define STBI_ASSERT(A) loveSTBIAssert((A), #A)
|
|
#include "libraries/stb/stb_image.h"
|
|
#include "libraries/stb/stb_image.h"
|