mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 15:15:40 +00:00
Qt: Only enable D3D11 break-on-error when debugger attached
This commit is contained in:
parent
746a00743e
commit
84b8987105
|
@ -167,7 +167,7 @@ bool D3D11HostDisplay::createDeviceContext(bool debug_device)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (debug_device)
|
||||
if (debug_device && IsDebuggerPresent())
|
||||
{
|
||||
ComPtr<ID3D11InfoQueue> info;
|
||||
hr = m_device.As(&info);
|
||||
|
|
Loading…
Reference in a new issue