Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0246 authored and hakolao committed Feb 20, 2024
1 parent dd54baa commit f6a71c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vulkano/src/memory/allocator/suballocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ impl MemoryAlloc {
pub fn shift(&mut self, amount: DeviceSize) {
assert!(amount <= self.size);

self.offset += amount;
unsafe { self.set_offset(self.offset + amount) };
self.size -= amount;
}

Expand Down

0 comments on commit f6a71c9

Please # to comment.