Skip to content

Commit

Permalink
feat(mods::swapchain): remove manually tracking swapchain RTV lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
clshortfuse committed Jan 20, 2025
1 parent 333a558 commit faabe03
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/mods/swapchain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -753,15 +753,6 @@ static void ReleaseResourceView(
data.resource_view_clones.erase(pair);
}
data.resource_view_clone_targets.erase(view.handle);
data.swap_chain_rtvs.erase(view.handle);

// Iterate to see if was a swap_chain_proxy_rtvs
for (auto pair : data.swap_chain_proxy_rtvs) {
if (pair.second.handle == view.handle) {
data.swap_chain_proxy_rtvs.erase(pair.first);
break;
}
}
}

static void RewriteRenderTargets(
Expand Down

0 comments on commit faabe03

Please sign in to comment.