From 4a27fa188e49988d2cfe241fa3ca69282bc792a7 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sun, 2 Feb 2020 22:27:06 -0800 Subject: Fixed UWP build plus bug in Win32NativeWindow ctor --- Graphics/GraphicsEngineD3DBase/include/SwapChainD3DBase.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3DBase') 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(m_Window.pWindow), + reinterpret_cast(m_Window.pCoreWindow), &swapChainDesc, nullptr, &pSwapChain1); -- cgit v1.2.3