[idd] driver: make m_indirectCopy static so it persists on retry

This commit is contained in:
Geoffrey McRae
2025-03-28 23:50:54 +00:00
parent 648fca7caa
commit f26fa17bc1
2 changed files with 6 additions and 3 deletions

View File

@@ -16,7 +16,9 @@ struct CD3D12Device
private:
LUID m_adapterLuid;
bool m_debug;
bool m_indirectCopy;
// static as this needs to persist if set
static bool m_indirectCopy;
ComPtr<ID3D12Debug6 > m_dxDebug;
ComPtr<ID3D12InfoQueue1> m_infoQueue;