From 0a68eee3f940b14d796bd678e8ada173731ad87a Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Thu, 28 Oct 2021 21:48:22 +0100 Subject: [PATCH] Remove unused field --- agb/src/display/background.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/agb/src/display/background.rs b/agb/src/display/background.rs index ae0f453c..7418dc41 100644 --- a/agb/src/display/background.rs +++ b/agb/src/display/background.rs @@ -129,7 +129,6 @@ impl<'a> Map<'a> { pub struct BackgroundRegister { background: u8, block: u8, - background_size: BackgroundSize, shadowed_register: u16, } @@ -138,7 +137,6 @@ impl<'a> BackgroundRegister { let mut b = Self { background, block, - background_size, shadowed_register: 0, }; b.set_block(block);