mirror of
https://github.com/nothings/stb.git
synced 2026-08-31 00:03:44 +00:00
Merge branch 'fix_issue_746' of https://github.com/BlackMATov/stb into work2
This commit is contained in:
@@ -899,11 +899,13 @@ STBIDEF const char *stbi_failure_reason(void)
|
||||
return stbi__g_failure_reason;
|
||||
}
|
||||
|
||||
#ifndef STBI_NO_FAILURE_STRINGS
|
||||
static int stbi__err(const char *str)
|
||||
{
|
||||
stbi__g_failure_reason = str;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void *stbi__malloc(size_t size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user