Stop truncating the renderers in text::Pipeline

We avoid recreating buffers this way, and the amount of layers should
stay relatively low anyways.
This commit is contained in:
Héctor Ramón Jiménez 2023-02-05 18:30:32 +01:00
parent f37b87fbab
commit 15d257a52a
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -209,7 +209,6 @@ impl Pipeline {
}
pub fn end_frame(&mut self) {
self.renderers.truncate(self.layer);
self.system
.as_mut()
.unwrap()