diff options
| author | Ray <[email protected]> | 2024-03-07 12:33:45 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-03-07 12:33:45 +0100 |
| commit | 30604080ef15b5201083f0828b868f7580ff05b5 (patch) | |
| tree | bbd07f5f0fdcc0f353a3b6c49955d2196326ea91 /src | |
| parent | 93a828f7444262655c91883acfcf3a2e31b8f6da (diff) | |
| download | raylib-30604080ef15b5201083f0828b868f7580ff05b5.tar.gz raylib-30604080ef15b5201083f0828b868f7580ff05b5.zip | |
Update rmodels.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/rmodels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmodels.c b/src/rmodels.c index 29b05ce3..c50c065e 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -5666,7 +5666,7 @@ static Model LoadVOX(const char *fileName) // Copy indices size = voxarray.indices.used*sizeof(unsigned short); - pmesh->indices = (float *)RL_MALLOC(size); + pmesh->indices = (unsigned short *)RL_MALLOC(size); memcpy(pmesh->indices, pindices, size); pmesh->triangleCount = (pmesh->vertexCount/4)*2; |
