Don't unmute debug output on capture, only on replay

This commit is contained in:
baldurk
2023-02-06 15:01:28 +00:00
parent 0cec1f2b96
commit 559179556a
+2 -1
View File
@@ -724,9 +724,10 @@ WrappedID3D12Device::WrappedID3D12Device(ID3D12Device *realDevice, D3D12InitPara
m_pInfoQueue->ClearStoredMessages();
m_pInfoQueue->SetMuteDebugOutput(false);
if(RenderDoc::Inst().IsReplayApp())
{
m_pInfoQueue->SetMuteDebugOutput(false);
D3D12_MESSAGE_ID mute[] = {
// the runtime cries foul when you use normal APIs in expected ways (for simple markers)
D3D12_MESSAGE_ID_CORRUPTED_PARAMETER2,