Skip to content

Commit

Permalink
don't clear depth twice
Browse files Browse the repository at this point in the history
  • Loading branch information
DGriffin91 committed Aug 25, 2024
1 parent 780dcea commit 2da602e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/multipass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ fn main() -> Result<(), DisplayError> {
.read_descriptor(1, light_buf)
.access_node(index_buf, AccessType::IndexBuffer)
.access_node(vertex_buf, AccessType::VertexBuffer)
.clear_depth_stencil(depth_stencil)
.load_depth_stencil(depth_stencil)
.store_depth_stencil(depth_stencil)
.store_color(0, frame.swapchain_image)
.record_subpass(move |subpass, _| {
Expand Down

0 comments on commit 2da602e

Please sign in to comment.