mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Merge branch 'master' into 12.0-development
This commit is contained in:
@@ -29,6 +29,12 @@ static void loveSTBIAssert(bool test, const char *teststr)
|
||||
throw love::Exception("Could not decode image (stb_image assertion '%s' failed)", teststr);
|
||||
}
|
||||
|
||||
// Workaround when building for iOS with deployment target=8.0
|
||||
#include "common/config.h"
|
||||
#if defined(LOVE_IOS)
|
||||
#define STBI_NO_THREAD_LOCALS
|
||||
#endif
|
||||
|
||||
// stb_image
|
||||
#define STBI_ONLY_JPEG
|
||||
// #define STBI_ONLY_PNG
|
||||
|
||||
Reference in New Issue
Block a user