Merge branch 'fix_issue_746' of https://github.com/BlackMATov/stb into work2

This commit is contained in:
Sean Barrett 2020-02-02 08:52:48 -08:00
commit 6877b1afd3

View File

@ -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)
{