Mark affine matrix input as C and packed

This commit is contained in:
Gwilym Kuiper 2021-06-05 20:29:16 +01:00
parent e7edaa1a27
commit 6ab644cf71

View file

@ -115,6 +115,7 @@ pub fn affine_matrix(x_scale: Num<8>, y_scale: Num<8>, rotation: u8) -> AffineMa
};
#[allow(dead_code)]
#[repr(C, packed)]
struct Input {
x_scale: i16,
y_scale: i16,