Update rmodels.c
This commit is contained in:
parent
0e037555fe
commit
8a434b4fd4
1 changed files with 1 additions and 1 deletions
|
@ -4409,7 +4409,7 @@ static Image LoadImageFromCgltfImage(cgltf_image *image, const char *texPath, Co
|
||||||
n += stride;
|
n += stride;
|
||||||
}
|
}
|
||||||
|
|
||||||
rimage = LoadImageFromMemory(".png", data, size);
|
rimage = LoadImageFromMemory(".png", data, (int)image->buffer_view->size);
|
||||||
RL_FREE(data);
|
RL_FREE(data);
|
||||||
|
|
||||||
// TODO: Tint shouldn't be applied here!
|
// TODO: Tint shouldn't be applied here!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue