mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-06-08 03:03:50 +00:00
stb_image: Apply https://github.com/nothings/stb/pull/1454
This commit is contained in:
@@ -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)) {
|
if (!stbi__pic_load_core(s,x,y,comp, result)) {
|
||||||
STBI_FREE(result);
|
STBI_FREE(result);
|
||||||
result=0;
|
return 0;
|
||||||
}
|
}
|
||||||
*px = x;
|
*px = x;
|
||||||
*py = y;
|
*py = y;
|
||||||
|
|||||||
Reference in New Issue
Block a user