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

@ -364,12 +364,8 @@ impl TextSystem {
Ok(lines)
}
pub fn start_frame(&self) {
self.line_layout_cache.start_frame();
}
pub fn end_frame(&self, reused_views: &FxHashSet<EntityId>) {
self.line_layout_cache.end_frame(reused_views)
pub fn finish_frame(&self, reused_views: &FxHashSet<EntityId>) {
self.line_layout_cache.finish_frame(reused_views)
}
pub fn line_wrapper(