diff options
author | 2023-02-05 18:30:32 +0100 | |
---|---|---|
committer | 2023-02-24 13:36:02 +0100 | |
commit | 15d257a52a994f0110d775eb49ca7e6100b0e1a8 (patch) | |
tree | 4d2b525911145856bce1d78d07478d3811b7fb39 | |
parent | f37b87fbabf09296ad7fea695baded25020d5fbc (diff) | |
download | iced-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.
-rw-r--r-- | wgpu/src/text.rs | 1 |
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() |