From 00c96a7dec6c65bdd6b16bdbe23b081afd59ca14 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 4 Nov 2017 04:02:55 +1100 Subject: [PATCH] [host] removed left behind change from debugging --- host/Capture/DXGI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/Capture/DXGI.cpp b/host/Capture/DXGI.cpp index 3cfc3e35..c3d110df 100644 --- a/host/Capture/DXGI.cpp +++ b/host/Capture/DXGI.cpp @@ -118,7 +118,7 @@ bool DXGI::Initialize() ); adapter.Release(); - if (FAILED(status) || !m_device) + if (FAILED(status)) { DEBUG_ERROR("Failed to create D3D11 device"); DeInitialize();