From b0552751ada90b754568061c8c3f7e2bb810475a Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 29 Aug 2019 21:24:47 +0200 Subject: [PATCH] [d3d11] Fix incorrect AddRef -> Release Spotted by @jp7677 --- src/d3d11/d3d11_resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d11/d3d11_resource.cpp b/src/d3d11/d3d11_resource.cpp index 7dabd771..9cb67c24 100644 --- a/src/d3d11/d3d11_resource.cpp +++ b/src/d3d11/d3d11_resource.cpp @@ -22,7 +22,7 @@ namespace dxvk { ULONG STDMETHODCALLTYPE D3D11DXGIResource::Release() { - return m_resource->AddRef(); + return m_resource->Release(); }