summaryrefslogtreecommitdiffstats
path: root/wgpu/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-02-05 18:30:32 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-02-24 13:36:02 +0100
commit15d257a52a994f0110d775eb49ca7e6100b0e1a8 (patch)
tree4d2b525911145856bce1d78d07478d3811b7fb39 /wgpu/src
parentf37b87fbabf09296ad7fea695baded25020d5fbc (diff)
downloadiced-15d257a52a994f0110d775eb49ca7e6100b0e1a8.tar.gz
iced-15d257a52a994f0110d775eb49ca7e6100b0e1a8.tar.bz2
iced-15d257a52a994f0110d775eb49ca7e6100b0e1a8.zip
Stop truncating the `renderers` in `text::Pipeline`
We avoid recreating buffers this way, and the amount of layers should stay relatively low anyways.
Diffstat (limited to 'wgpu/src')
-rw-r--r--wgpu/src/text.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/wgpu/src/text.rs b/wgpu/src/text.rs
index e8c3e385..16eea234 100644
--- a/wgpu/src/text.rs
+++ b/wgpu/src/text.rs
@@ -209,7 +209,6 @@ impl Pipeline {
}
pub fn end_frame(&mut self) {
- self.renderers.truncate(self.layer);
self.system
.as_mut()
.unwrap()