summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-15 06:28:55 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-15 06:31:53 +0100
commitaa298499768bb50129cc3bd0dca6f3f858e5802e (patch)
tree178b7e40b1ee283224caadbc96a51fa14a2a3fd0 /wgpu/src/image
parent6ba2461445e68127ef686d2b9d79eb7a09f42a86 (diff)
downloadiced-aa298499768bb50129cc3bd0dca6f3f858e5802e.tar.gz
iced-aa298499768bb50129cc3bd0dca6f3f858e5802e.tar.bz2
iced-aa298499768bb50129cc3bd0dca6f3f858e5802e.zip
Add `svg` example
Diffstat (limited to 'wgpu/src/image')
-rw-r--r--wgpu/src/image/vector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/image/vector.rs b/wgpu/src/image/vector.rs
index 0894c6bc..097223a5 100644
--- a/wgpu/src/image/vector.rs
+++ b/wgpu/src/image/vector.rs
@@ -76,7 +76,7 @@ impl Cache {
// TODO: Optimize!
// We currently rerasterize the SVG when its size changes. This is slow
// as heck. A GPU rasterizer like `pathfinder` may perform better.
- // It would be cool to be able to smooth resize the `tiger` example.
+ // It would be cool to be able to smooth resize the `svg` example.
if let Some(bind_group) = self.rasterized.get(&(id, width, height)) {
let _ = self.svg_hits.insert(id);
let _ = self.rasterized_hits.insert((id, width, height));