mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
[rs] Remove unneeded TextureUsage
This commit is contained in:
1 parent
4a6c1fb84b
commit
f9797fa3dd
1 file changed
+1
-3
@@ -43,9 +43,7 @@ fn main() {
|
||||
sample_count: 1,
|
||||
dimension: wgpu::TextureDimension::D2,
|
||||
format: wgpu::TextureFormat::Rgba8Unorm,
|
||||
usage: wgpu::TextureUsage::STORAGE
|
||||
| wgpu::TextureUsage::OUTPUT_ATTACHMENT
|
||||
| wgpu::TextureUsage::TRANSFER_SRC,
|
||||
usage: wgpu::TextureUsage::OUTPUT_ATTACHMENT | wgpu::TextureUsage::TRANSFER_SRC,
|
||||
});
|
||||
|
||||
// Set the background to be red
|
||||
|
||||
Reference in new issue
Block a user