From f89520db89914a374b862f9ec646c4d7d034d1ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sun, 26 Jul 2020 21:00:32 -0700 Subject: [PATCH] Cleanup. --- src/dxgi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dxgi.cpp b/src/dxgi.cpp index fcbf793ea..a551e468c 100644 --- a/src/dxgi.cpp +++ b/src/dxgi.cpp @@ -471,7 +471,7 @@ namespace bgfx if (NULL != swapChainPanelNative) { hr = swapChainPanelNative->SetSwapChain(*_swapChain); - + if (FAILED(hr) ) { DX_RELEASE(swapChainPanelNative, 0); @@ -500,7 +500,7 @@ namespace bgfx if (NULL != swapChainBackgroundPanelNative) { hr = swapChainBackgroundPanelNative->SetSwapChain(*_swapChain); - + if (FAILED(hr) ) { DX_RELEASE(swapChainBackgroundPanelNative, 0);