just dealloc in gc

This commit is contained in:
Corwin 2023-06-03 16:54:44 +01:00
parent 80f5812039
commit 083fd43ea3
No known key found for this signature in database

View file

@ -342,7 +342,7 @@ impl VRamManager {
let tile_reference = Self::reference_from_index(tile_index);
unsafe {
TILE_ALLOCATOR.dealloc_no_normalise(
TILE_ALLOCATOR.dealloc(
tile_reference.0.cast().as_ptr(),
layout_of(tile_index.format()),
);