Skip to content

Commit

Permalink
Pimp kope_d3d12_command_list_destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Sep 30, 2024
1 parent dcdedd3 commit 2e0eda0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@
#endif

void kope_d3d12_command_list_destroy(kope_g5_command_list *list) {
for (int i = 0; i < KOPE_D3D12_COMMAND_LIST_ALLOCATOR_COUNT; ++i) {
list->d3d12.allocator[i]->Release();
}
list->d3d12.list->Release();

list->d3d12.rtv_descriptors->Release();
list->d3d12.dsv_descriptor->Release();
}

void kope_d3d12_command_list_begin_render_pass(kope_g5_command_list *list, const kope_g5_render_pass_parameters *parameters) {
Expand Down

0 comments on commit 2e0eda0

Please sign in to comment.