diff --git a/src/xenia/gpu/d3d12/d3d12_render_target_cache.h b/src/xenia/gpu/d3d12/d3d12_render_target_cache.h index efc86db64..1f552e8fe 100644 --- a/src/xenia/gpu/d3d12/d3d12_render_target_cache.h +++ b/src/xenia/gpu/d3d12/d3d12_render_target_cache.h @@ -149,9 +149,7 @@ class D3D12RenderTargetCache final : public RenderTargetCache { descriptor_load_separate_(std::move(descriptor_load_separate)), descriptor_srv_(std::move(descriptor_srv)), descriptor_srv_stencil_(std::move(descriptor_srv_stencil)), - resource_state_(resource_state) { - resource_->AddRef(); - } + resource_state_(resource_state) {} ID3D12Resource* resource() const { return resource_.Get(); } const ui::d3d12::D3D12CpuDescriptorPool::Descriptor& descriptor_draw()