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