Browse Source

Merge pull request #849 from wbrbr/master

Fix unitialized struct member bug (#848)
pull/852/head
Ray 6 years ago
committed by GitHub
parent
commit
5e8ffec0f6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/models.c

+ 1
- 1
src/models.c View File

@ -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.meshCounto">*sizeof(Mesh));
model.meshes = RL_CALLOC(model.meshCountp">, sizeof(Mesh));
char name[MESH_NAME_LENGTH];

Loading…
Cancel
Save