diff --git a/agb/src/display/object.rs b/agb/src/display/object.rs index ea702dca..69c734e6 100644 --- a/agb/src/display/object.rs +++ b/agb/src/display/object.rs @@ -238,11 +238,13 @@ impl AffineMatrix<'_> { impl ObjectAttribute { fn new() -> Self { - ObjectAttribute { + let mut o = ObjectAttribute { a0: 0, a1: 0, a2: 0, - } + }; + o.set_mode(Mode::Hidden); + o } }