diff --git a/agb/src/display/background.rs b/agb/src/display/background.rs index ad795587..287733d4 100644 --- a/agb/src/display/background.rs +++ b/agb/src/display/background.rs @@ -1,3 +1,4 @@ +use alloc::vec; use alloc::vec::Vec; use hashbrown::HashMap; @@ -77,7 +78,7 @@ impl<'a> VRamManager<'a> { free_pointer: None, tile_set_to_vram: HashMap::new(), - references: Vec::new(), + references: vec![1], vram_free_pointer: None, } }