From 530e83e7bf3bf03bb5a243ef7646dcc53c6133dc Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 29 Mar 2025 00:56:54 +0000 Subject: [PATCH] [idd] driver: cosmetics --- idd/LGIdd/CD3D12Device.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/idd/LGIdd/CD3D12Device.cpp b/idd/LGIdd/CD3D12Device.cpp index 57280b9e..fcafd663 100644 --- a/idd/LGIdd/CD3D12Device.cpp +++ b/idd/LGIdd/CD3D12Device.cpp @@ -74,8 +74,10 @@ CD3D12Device::InitResult CD3D12Device::Init(CIVSHMEM &ivshmem, UINT64 &alignSize //non-fatal do not exit } else + { m_infoQueue->RegisterMessageCallback( - _D3D12DebugCallback, D3D12_MESSAGE_CALLBACK_FLAG_NONE, NULL, &m_callbackCookie); + _D3D12DebugCallback, D3D12_MESSAGE_CALLBACK_FLAG_NONE, NULL, &m_callbackCookie); + } } if (!m_indirectCopy)