mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[rs] Merge #43
43: Remove unneeded TextureUsage r=kvark a=rukai Just a small issue that was missed in review. Co-authored-by: Rukai <rubickent@gmail.com>
This commit is contained in:
@@ -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