From aeec903fc3b4477b7647f95b5d9f89242b4c8f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Tue, 7 Apr 2020 15:58:25 -0700 Subject: [PATCH] Fixed #2102. --- src/renderer_d3d12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer_d3d12.cpp b/src/renderer_d3d12.cpp index 1726976b6..16077e3a4 100644 --- a/src/renderer_d3d12.cpp +++ b/src/renderer_d3d12.cpp @@ -5107,7 +5107,7 @@ namespace bgfx { namespace d3d12 #if BX_PLATFORM_WINDOWS SwapChainDesc scd; - bx::memCopy(&scd, &s_renderD3D12->m_scd, sizeof(DXGI_SWAP_CHAIN_DESC) ); + bx::memCopy(&scd, &s_renderD3D12->m_scd, sizeof(SwapChainDesc) ); scd.format = TextureFormat::Count == _format ? scd.format : s_textureFormat[_format].m_fmt; scd.width = _width; scd.height = _height;