mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
D3D11: Fixed default settings for user created device.
This commit is contained in:
parent
0da98e8645
commit
0aa27c112f
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue