Skip to content

Commit

Permalink
Destroy command buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopengli89 committed Jan 4, 2023
1 parent 2af45a9 commit 0b3afa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/dx12/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ impl crate::CommandEncoder<super::Api> for super::CommandEncoder {
if cmd_buf.closed {
self.free_lists.push(cmd_buf.raw);
} else {
cmd_buf.raw.close();
cmd_buf.raw.destroy();
}
}
self.allocator.reset();
Expand Down

0 comments on commit 0b3afa2

Please sign in to comment.