Merge branch 'fix_issue_746' of https://github.com/BlackMATov/stb into work2
This commit is contained in:
commit
6877b1afd3
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user