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) {