]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
IQM: fix misaligned memory access while loading
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 26 Jan 2024 04:38:36 +0000 (14:38 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 29 Jan 2024 15:27:11 +0000 (01:27 +1000)
commit1ce1b1d44a74a5e7e2c1e45f858db4bb3a9ee706
tree2b4c2e17b731c2523d6290e67baab5c5053dd758
parent7a46a4b6a5975251f1529007fe15da6734e4891c
IQM: fix misaligned memory access while loading

Parsing uses the memcpy approach (already used for the header), slower
than direct reads via hard-coded offsets but more readable and robust.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
model_alias.c