From 9192722f5ad398f2c6c320343af547673aa2fffd Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Sun, 19 Sep 2021 20:56:36 +0100 Subject: [PATCH] fix build --- agb/src/display/background.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agb/src/display/background.rs b/agb/src/display/background.rs index c2ae27b5..05a0d404 100644 --- a/agb/src/display/background.rs +++ b/agb/src/display/background.rs @@ -87,7 +87,7 @@ pub struct BackgroundRegular<'a> { shadowed_position: Vector2D, poisoned: bool, shadowed_register: u16, - copy_size: Vector2D, + copy_size: Vector2D, background_size: BackgroundSize, map: Option>, } @@ -136,7 +136,7 @@ impl<'a> BackgroundRegular<'a> { commited_position: (0, 0).into(), shadowed_position: (0, 0).into(), shadowed_register: 0, - copy_size: (30, 20).into(), + copy_size: (30_u16, 20_u16).into(), background_size: size, poisoned: true, map: None,