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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user