mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 22:03:12 +01:00
Fixed PR #1595.
This commit is contained in:
@@ -5029,10 +5029,11 @@ namespace bgfx { namespace d3d12
|
||||
#if BX_PLATFORM_WINDOWS
|
||||
SwapChainDesc scd;
|
||||
bx::memCopy(&scd, &s_renderD3D12->m_scd, sizeof(DXGI_SWAP_CHAIN_DESC) );
|
||||
scd.format = TextureFormat::Count == _format ? scd.format : s_textureFormat[_format].m_fmt;
|
||||
scd.width = _width;
|
||||
scd.height = _height;
|
||||
scd.nwh = _nwh;
|
||||
scd.format = TextureFormat::Count == _format ? scd.format : s_textureFormat[_format].m_fmt;
|
||||
scd.width = _width;
|
||||
scd.height = _height;
|
||||
scd.nwh = _nwh;
|
||||
scd.sampleDesc = s_msaa[0];
|
||||
|
||||
HRESULT hr;
|
||||
hr = s_renderD3D12->m_dxgi.createSwapChain(
|
||||
|
||||
Reference in New Issue
Block a user