D3D11: Fixed default settings for user created device.

This commit is contained in:
Branimir Karadžić 2015-04-22 15:30:01 -07:00
parent 0da98e8645
commit 0aa27c112f

View file

@ -749,6 +749,9 @@ BX_PRAGMA_DIAGNOSTIC_POP();
else
{
memset(&m_scd, 0, sizeof(m_scd) );
m_scd.SampleDesc.Count = 1;
m_scd.SampleDesc.Quality = 0;
setBufferSize(BGFX_DEFAULT_WIDTH, BGFX_DEFAULT_HEIGHT);
m_backBufferColor = (ID3D11RenderTargetView*)g_platformData.backbuffer;
}