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();