diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-08-05 05:58:45 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-05 05:58:45 +0000 |
| commit | 2f7704623cc3c0bedb8ab9f527cbc03b081998e7 (patch) | |
| tree | c7b95ec4d7c106a3455af05946c7cd0b74f29641 /Graphics/GraphicsEngineD3D12 | |
| parent | Added more renderpass-related checks (diff) | |
| parent | Fixed IDXGISwapChain2 issue on Windows 7 (closed https://github.com/DiligentG... (diff) | |
| download | DiligentCore-2f7704623cc3c0bedb8ab9f527cbc03b081998e7.tar.gz DiligentCore-2f7704623cc3c0bedb8ab9f527cbc03b081998e7.zip | |
Merge branch 'master'
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp b/Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp index 1b61a393..74a69136 100644 --- a/Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp +++ b/Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp @@ -295,7 +295,7 @@ void EngineFactoryD3D12Impl::CreateDeviceAndContextsD3D12(const EngineD3D12Creat if (EngineCI.EnableDebugLayer) { CComPtr<ID3D12InfoQueue> pInfoQueue; - hr = d3d12Device->QueryInterface(__uuidof(pInfoQueue), reinterpret_cast<void**>(static_cast<ID3D12InfoQueue**>(&pInfoQueue))); + hr = d3d12Device.QueryInterface(&pInfoQueue); if (SUCCEEDED(hr)) { // Suppress whole categories of messages |
