[D3D12] Remove unused D3D12RenderTargetCache ref from D3D12RenderTarget

This commit is contained in:
Triang3l
2021-06-19 14:06:37 +03:00
parent 4a95f72fba
commit 3a2c7894d2
2 changed files with 2 additions and 5 deletions

View File

@@ -2131,7 +2131,7 @@ RenderTargetCache::RenderTarget* D3D12RenderTargetCache::CreateRenderTarget(
descriptor_srv.GetHandle());
return new D3D12RenderTarget(
key, *this, resource.Get(), std::move(descriptor_draw),
key, resource.Get(), std::move(descriptor_draw),
std::move(descriptor_draw_srgb), std::move(descriptor_load_separate),
std::move(descriptor_srv), std::move(descriptor_srv_stencil),
resource_state);