This commit is contained in:
Бранимир Караџић 2020-04-07 15:58:25 -07:00
parent 5b9116138f
commit aeec903fc3

View File

@ -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;