Skip to content

Commit ad764ad

Browse files
committed
[remove] redundant cast.
1 parent 37e02b4 commit ad764ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/lambda-rs-platform/src/wgpu/render_pass.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ impl RenderPassBuilder {
331331
},
332332
},
333333
DepthLoadOp::Clear(value) => wgpu::Operations {
334-
load: wgpu::LoadOp::Clear(value as f32),
334+
load: wgpu::LoadOp::Clear(value),
335335
store: match dop.store {
336336
StoreOp::Store => wgpu::StoreOp::Store,
337337
StoreOp::Discard => wgpu::StoreOp::Discard,

0 commit comments

Comments
 (0)