summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-08-05 05:58:45 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-08-05 05:58:45 +0000
commit2f7704623cc3c0bedb8ab9f527cbc03b081998e7 (patch)
treec7b95ec4d7c106a3455af05946c7cd0b74f29641 /Graphics/GraphicsEngineD3D12
parentAdded more renderpass-related checks (diff)
parentFixed IDXGISwapChain2 issue on Windows 7 (closed https://github.com/DiligentG... (diff)
downloadDiligentCore-2f7704623cc3c0bedb8ab9f527cbc03b081998e7.tar.gz
DiligentCore-2f7704623cc3c0bedb8ab9f527cbc03b081998e7.zip
Merge branch 'master'
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp2
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