mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 01:21:34 +11:00
Ensure packed(4)
This commit is contained in:
parent
fe2e480f28
commit
c0821c9229
|
@ -1198,7 +1198,7 @@ enum ColourMode {
|
|||
/// This can be obtained from X/Y scale and rotation angle with
|
||||
/// [`agb::syscall::affine_matrix`].
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||
#[repr(C, packed)]
|
||||
#[repr(C, packed(4))]
|
||||
pub struct AffineMatrixAttributes {
|
||||
/// Adjustment made to *X* coordinate when drawing *horizontal* lines.
|
||||
/// Also known as "dx".
|
||||
|
|
Loading…
Reference in a new issue