Fix Clippy lints.

This commit is contained in:
Robin KAY 2024-02-16 00:35:59 +00:00
parent fffb75b20c
commit e8fe3d4b95
1 changed files with 3 additions and 3 deletions

View File

@ -217,7 +217,7 @@ impl Node for OutlineNode {
label: Some("outline_stencil_pass"),
color_attachments: &[],
depth_stencil_attachment: Some(RenderPassDepthStencilAttachment {
view: &depth.view(),
view: depth.view(),
depth_ops: Some(Operations {
load: camera_3d.depth_load_op.clone().into(),
store: StoreOp::Store,
@ -239,7 +239,7 @@ impl Node for OutlineNode {
label: Some("outline_opaque_pass"),
color_attachments: &[Some(target.get_color_attachment())],
depth_stencil_attachment: Some(RenderPassDepthStencilAttachment {
view: &depth.view(),
view: depth.view(),
depth_ops: Some(Operations {
load: LoadOp::Load,
store: StoreOp::Store,
@ -261,7 +261,7 @@ impl Node for OutlineNode {
label: Some("outline_transparent_pass"),
color_attachments: &[Some(target.get_color_attachment())],
depth_stencil_attachment: Some(RenderPassDepthStencilAttachment {
view: &depth.view(),
view: depth.view(),
depth_ops: Some(Operations {
load: LoadOp::Load,
store: StoreOp::Store,