mirror of https://github.com/nothings/stb.git
fix compile
parent
118f28557e
commit
4e580cf9ed
|
@ -45,7 +45,7 @@ void* stbir_malloc(void* context, size_t size)
|
|||
void stbir_free(void* context, void* memory)
|
||||
{
|
||||
if (!context)
|
||||
return free(memory);
|
||||
free(memory);
|
||||
}
|
||||
|
||||
void stbir_progress(float p)
|
||||
|
|
Loading…
Reference in New Issue