diff --git a/src/duckstation-sdl/d3d11_host_display.cpp b/src/duckstation-sdl/d3d11_host_display.cpp index 2aea166d4..20d04eaea 100644 --- a/src/duckstation-sdl/d3d11_host_display.cpp +++ b/src/duckstation-sdl/d3d11_host_display.cpp @@ -273,7 +273,7 @@ bool D3D11HostDisplay::CreateD3DDevice(bool debug_device) if (FAILED(hr)) Log_WarningPrintf("MakeWindowAssociation() to disable ALT+ENTER failed"); - if (debug_device) + if (debug_device && IsDebuggerPresent()) { ComPtr info; hr = m_device.As(&info);