diff options
author | 2022-10-31 13:37:56 -0700 | |
---|---|---|
committer | 2022-11-05 03:19:37 +0100 | |
commit | 2c7c42ee93a61f39562590f6a75eb2dd8b220fb8 (patch) | |
tree | 83279bcbd9ef0ca5ea8c8b763d38259555640216 /wgpu/src/backend.rs | |
parent | 7b129917281baaa6688158c303922f94341ab69f (diff) | |
download | iced-2c7c42ee93a61f39562590f6a75eb2dd8b220fb8.tar.gz iced-2c7c42ee93a61f39562590f6a75eb2dd8b220fb8.tar.bz2 iced-2c7c42ee93a61f39562590f6a75eb2dd8b220fb8.zip |
Move image/svg handling into `iced_graphics`
The `TextureStore` trait is implemented by the atlas, and can also be
implemented in the glow renderer or in a software renderer.
The API here may be improved in the future, but API stability is
presumably not a huge issue since these types will only be used by
renderer backends.
Diffstat (limited to '')
-rw-r--r-- | wgpu/src/backend.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/backend.rs b/wgpu/src/backend.rs index 80026673..efe35a3e 100644 --- a/wgpu/src/backend.rs +++ b/wgpu/src/backend.rs @@ -99,7 +99,7 @@ impl Backend { } #[cfg(any(feature = "image_rs", feature = "svg"))] - self.image_pipeline.trim_cache(); + self.image_pipeline.trim_cache(device, encoder); } fn flush( |