summaryrefslogtreecommitdiff
path: root/ext/webgpu/texture.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webgpu/texture.rs')
-rw-r--r--ext/webgpu/texture.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/webgpu/texture.rs b/ext/webgpu/texture.rs
index 4829811e2..a0ea7a1bd 100644
--- a/ext/webgpu/texture.rs
+++ b/ext/webgpu/texture.rs
@@ -171,7 +171,7 @@ pub fn op_webgpu_create_texture(
None => wgpu_types::TextureDimension::D2,
},
format: serialize_texture_format(&args.format)?,
- usage: wgpu_types::TextureUsage::from_bits(args.usage).unwrap(),
+ usage: wgpu_types::TextureUsages::from_bits(args.usage).unwrap(),
};
gfx_put!(device => instance.device_create_texture(