This commit is contained in:
Antonio Scandurra 2024-01-11 16:59:33 +01:00
parent cbbba41748
commit 101cedb5f7
3 changed files with 9 additions and 13 deletions

View file

@ -256,7 +256,7 @@ impl LineLayoutCache {
}
}
pub fn end_frame(&self, reused_views: &FxHashSet<EntityId>) {
pub fn finish_frame(&self, reused_views: &FxHashSet<EntityId>) {
debug_assert_eq!(self.view_stack.lock().len(), 0);
let mut prev_frame = self.previous_frame.lock();