From ae01c2d836d9c86899deef807d7e090f5f27fa75 Mon Sep 17 00:00:00 2001 From: crosire Date: Sun, 15 Jul 2018 14:09:40 +0200 Subject: [PATCH] Revert change to "Direct3DDevice8::SetRenderTarget" in previous commit See #84 --- source/d3d8to9_device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/d3d8to9_device.cpp b/source/d3d8to9_device.cpp index 33413fb..bdda1d7 100644 --- a/source/d3d8to9_device.cpp +++ b/source/d3d8to9_device.cpp @@ -623,9 +623,9 @@ HRESULT STDMETHODCALLTYPE Direct3DDevice8::SetRenderTarget(Direct3DSurface8 *pRe { return hr; } - } - pCurrentRenderTarget = pRenderTarget->GetProxyInterface(); + pCurrentRenderTarget = pRenderTarget->GetProxyInterface(); + } if (pNewZStencil != nullptr) {