Update rmodels.c
This commit is contained in:
parent
63da7cdec6
commit
0125790801
1 changed files with 1 additions and 1 deletions
|
@ -4687,7 +4687,7 @@ static Image LoadImageFromCgltfImage(cgltf_image *cgltfImage, const char *texPat
|
||||||
if (result == cgltf_result_success)
|
if (result == cgltf_result_success)
|
||||||
{
|
{
|
||||||
image = LoadImageFromMemory(".png", (unsigned char *)data, outSize);
|
image = LoadImageFromMemory(".png", (unsigned char *)data, outSize);
|
||||||
MemFree((cgltf_data*)data);
|
MemFree(data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue