summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-08-05 05:56:59 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-08-05 05:56:59 +0000
commitba38a3e2e68977d4a109fdf049b774b75146320a (patch)
tree4192ff376be84887f1b528d592c8162bd9b6b29c /Graphics/GraphicsEngineD3D12
parentSwitched to using Volk on Windows (https://github.com/DiligentGraphics/Dilige... (diff)
downloadDiligentCore-ba38a3e2e68977d4a109fdf049b774b75146320a.tar.gz
DiligentCore-ba38a3e2e68977d4a109fdf049b774b75146320a.zip
Fixed IDXGISwapChain2 issue on Windows 7 (closed https://github.com/DiligentGraphics/DiligentEngine/issues/95).
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