This commit is contained in:
Branimir Karadžić
2019-01-16 21:30:58 -08:00
parent cc9799e19f
commit 33ececeb96
3 changed files with 16 additions and 13 deletions

View File

@@ -4576,12 +4576,12 @@ namespace bgfx { namespace d3d11
{
SwapChainDesc scd;
bx::memCopy(&scd, &s_renderD3D11->m_scd, sizeof(SwapChainDesc) );
scd.format = TextureFormat::Count == _format ? scd.format : s_textureFormat[_format].m_fmt;
scd.width = _width;
scd.height = _height;
scd.nwh = _nwh;
scd.ndt = NULL;
scd.sampleDesc.Count = 1;
scd.format = TextureFormat::Count == _format ? scd.format : s_textureFormat[_format].m_fmt;
scd.width = _width;
scd.height = _height;
scd.nwh = _nwh;
scd.ndt = NULL;
scd.sampleDesc = s_msaa[0];
ID3D11Device* device = s_renderD3D11->m_device;