mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-04 10:45:11 +08:00
stb_image: Apply https://github.com/nothings/stb/pull/1454
This commit is contained in:
parent
344669ddf6
commit
af4456ba68
@ -6547,7 +6547,7 @@ static void *stbi__pic_load(stbi__context *s,int *px,int *py,int *comp,int req_c
|
||||
|
||||
if (!stbi__pic_load_core(s,x,y,comp, result)) {
|
||||
STBI_FREE(result);
|
||||
result=0;
|
||||
return 0;
|
||||
}
|
||||
*px = x;
|
||||
*py = y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user