Fix #848
This commit is contained in:
parent
978f3a9570
commit
13a1744ca9
1 changed files with 1 additions and 1 deletions
|
@ -3044,7 +3044,7 @@ static Model LoadIQM(const char *fileName)
|
|||
fread(imesh, sizeof(IQMMesh)*iqm.num_meshes, 1, iqmFile);
|
||||
|
||||
model.meshCount = iqm.num_meshes;
|
||||
model.meshes = RL_MALLOC(model.meshCount*sizeof(Mesh));
|
||||
model.meshes = RL_CALLOC(model.meshCount, sizeof(Mesh));
|
||||
|
||||
char name[MESH_NAME_LENGTH];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue