diff options
author | 2023-04-08 04:47:54 +0200 | |
---|---|---|
committer | 2023-04-08 04:47:54 +0200 | |
commit | 3ee367355d4534d4eabcf2b135d64dc405984aa4 (patch) | |
tree | b4ed4d110d9204500a1e735b989341ba09e9aff5 /wgpu/src/image | |
parent | 940a47eafd098dce3567a95c38dc8697b0fc7115 (diff) | |
parent | c0431aedd3bbef4161456f2fa5f29866e8f17fc5 (diff) | |
download | iced-3ee367355d4534d4eabcf2b135d64dc405984aa4.tar.gz iced-3ee367355d4534d4eabcf2b135d64dc405984aa4.tar.bz2 iced-3ee367355d4534d4eabcf2b135d64dc405984aa4.zip |
Merge branch 'advanced-text' into incremental-rendering
Diffstat (limited to 'wgpu/src/image')
-rw-r--r-- | wgpu/src/image/atlas.rs | 2 |
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; |