VRamManager should definitely not have a public new

This commit is contained in:
Gwilym Kuiper 2022-03-13 20:12:49 +00:00
parent 9e8cdc6729
commit b88ad5cba5

View file

@ -109,7 +109,7 @@ pub struct VRamManager<'a> {
} }
impl<'a> VRamManager<'a> { impl<'a> VRamManager<'a> {
pub fn new() -> Self { pub(crate) fn new() -> Self {
Self { Self {
tilesets: Vec::new(), tilesets: Vec::new(),
generation: 0, generation: 0,