]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
sprites: fix misaligned memory access while loading (v2)
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 6 May 2024 01:15:40 +0000 (11:15 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 9 May 2024 03:07:36 +0000 (13:07 +1000)
commitf0a957db22c90c82817674c1cf3c53976e44fa87
treede09b482bc32acd61c0f3df74c91848765e968dc
parent9aff57968fdea0b6792a8826d101788f31fdf1a3
sprites: fix misaligned memory access while loading (v2)

This reverts commit 0d5f8f0edd073d7ff233bde3995b529c0fcb67ff, that
approach didn't solve it for the other code path (used in mod "quake15")
so we need to memcpy each struct.

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