summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-04-08 04:47:05 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-04-08 04:47:05 +0200
commitc0431aedd3bbef4161456f2fa5f29866e8f17fc5 (patch)
tree37f5af689b91818e04f3bc58e523aa24858f056a /wgpu/src/image
parent6fae8bf6cbe7155bcee42eaeba68e31564df057c (diff)
downloadiced-c0431aedd3bbef4161456f2fa5f29866e8f17fc5.tar.gz
iced-c0431aedd3bbef4161456f2fa5f29866e8f17fc5.tar.bz2
iced-c0431aedd3bbef4161456f2fa5f29866e8f17fc5.zip
Update `wgpu` and `cosmic-text`
Diffstat (limited to 'wgpu/src/image')
-rw-r--r--wgpu/src/image/atlas.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/wgpu/src/image/atlas.rs b/wgpu/src/image/atlas.rs
index c00b8cef..39b6e5d2 100644
--- a/wgpu/src/image/atlas.rs
+++ b/wgpu/src/image/atlas.rs
@@ -41,6 +41,7 @@ impl Atlas {
usage: wgpu::TextureUsages::COPY_DST
| wgpu::TextureUsages::COPY_SRC
| wgpu::TextureUsages::TEXTURE_BINDING,
+ view_formats: &[],
});
let texture_view = texture.create_view(&wgpu::TextureViewDescriptor {
@@ -338,6 +339,7 @@ impl Atlas {
usage: wgpu::TextureUsages::COPY_DST
| wgpu::TextureUsages::COPY_SRC
| wgpu::TextureUsages::TEXTURE_BINDING,
+ view_formats: &[],
});
let amount_to_copy = self.layers.len() - amount;