summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-02-03 06:27:06 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-02-03 06:27:06 +0000
commit4a27fa188e49988d2cfe241fa3ca69282bc792a7 (patch)
treeb78a1aee6ee7156f854efd8337ab58c73d69b6fe /Graphics/GraphicsEngineD3DBase
parentFixed Linux build issue (diff)
downloadDiligentCore-4a27fa188e49988d2cfe241fa3ca69282bc792a7.tar.gz
DiligentCore-4a27fa188e49988d2cfe241fa3ca69282bc792a7.zip
Fixed UWP build plus bug in Win32NativeWindow ctor
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/include/SwapChainD3DBase.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/include/SwapChainD3DBase.hpp b/Graphics/GraphicsEngineD3DBase/include/SwapChainD3DBase.hpp
index 9479d72e..18cb8bf0 100644
--- a/Graphics/GraphicsEngineD3DBase/include/SwapChainD3DBase.hpp
+++ b/Graphics/GraphicsEngineD3DBase/include/SwapChainD3DBase.hpp
@@ -194,7 +194,7 @@ protected:
hr = factory->CreateSwapChainForCoreWindow(
pD3D11DeviceOrD3D12CmdQueue,
- reinterpret_cast<IUnknown*>(m_Window.pWindow),
+ reinterpret_cast<IUnknown*>(m_Window.pCoreWindow),
&swapChainDesc,
nullptr,
&pSwapChain1);