summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
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);