Skip to content

Commit 94cb8b9

Browse files
committed
Reduce log spam
1 parent 2c0d9f2 commit 94cb8b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

impl.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,10 @@ class DeviceWrapper final : public ID3D11Device, IDXGIDevice1 {
754754
return S_OK;
755755
}
756756
HRESULT res = dev->QueryInterface(riid, ppvObject);
757+
static const GUID IID_ID3D12Device = { 0x189819F1, 0x1DB6, 0x4B57, {0xBE, 0x54, 0x18, 0x21, 0x33, 0x9B, 0x85, 0xF7} };
758+
if (IsEqualGUID(riid, IID_ID3D12Device))
759+
return res;
760+
757761
LPOLESTR iidstr;
758762
if (StringFromIID(riid, &iidstr) == S_OK) {
759763
char buf[64] = {};

0 commit comments

Comments
 (0)