summaryrefslogtreecommitdiffstats
path: root/wgpu/src/backend.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-06-26 19:17:34 +0200
committerLibravatar GitHub <noreply@github.com>2023-06-26 19:17:34 +0200
commitef18ecf4ef0fe654578380059b467fe2fb34aa0a (patch)
tree13f6de49d8f33ce7f4056bd36fb5e1a6e3aa8e12 /wgpu/src/backend.rs
parent75bd55c1f025df33bd9552a6d573ab10826e0050 (diff)
parentef87ff1e8ab24279a551b3eef6bacd8813712530 (diff)
downloadiced-ef18ecf4ef0fe654578380059b467fe2fb34aa0a.tar.gz
iced-ef18ecf4ef0fe654578380059b467fe2fb34aa0a.tar.bz2
iced-ef18ecf4ef0fe654578380059b467fe2fb34aa0a.zip
Merge pull request #1921 from iced-rs/subpixel-glyph-positioning
Subpixel glyph positioning and layout linearity
Diffstat (limited to 'wgpu/src/backend.rs')
-rw-r--r--wgpu/src/backend.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/wgpu/src/backend.rs b/wgpu/src/backend.rs
index b524c615..eecba2f1 100644
--- a/wgpu/src/backend.rs
+++ b/wgpu/src/backend.rs
@@ -334,12 +334,6 @@ impl Backend {
}
}
-impl iced_graphics::Backend for Backend {
- fn trim_measurements(&mut self) {
- self.text_pipeline.trim_measurement_cache()
- }
-}
-
impl backend::Text for Backend {
const ICON_FONT: Font = Font::with_name("Iced-Icons");
const CHECKMARK_ICON: char = '\u{f00c}';