mirror of
https://github.com/nothings/stb
synced 2025-03-14 16:21:12 -04:00
Merge ee20160e6d
into c7110588a4
This commit is contained in:
commit
f4ce713519
@ -4867,7 +4867,7 @@ static void *stbi__do_png(stbi__png *p, int *x, int *y, int *n, int req_comp, st
|
||||
}
|
||||
*x = p->s->img_x;
|
||||
*y = p->s->img_y;
|
||||
if (n) *n = p->s->img_n;
|
||||
if (n) *n = p->s->img_out_n;
|
||||
}
|
||||
STBI_FREE(p->out); p->out = NULL;
|
||||
STBI_FREE(p->expanded); p->expanded = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user