Update m3d.h

Fix alignment bug.
pull/2885/head
Kim Kulling 2020-03-27 16:27:07 +01:00 committed by GitHub
parent 7a01061c3e
commit 2cfdbe2d50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5478,7 +5478,7 @@ unsigned char *m3d_save(m3d_t *model, int quality, int flags, unsigned int *size
memcpy(length, &v, sizeof(uint32_t));
//*length = (uint32_t)((uintptr_t)out - (uintptr_t)((uint8_t *)h + len));
out = NULL;
len += *length;
len += v;
}
/* bones chunk */
if (model->numbone && model->bone && !(flags & M3D_EXP_NOBONE)) {