From 0aa27c112f94f12f5f7c2476eeb3ddd5ce651539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 22 Apr 2015 15:30:01 -0700 Subject: [PATCH] D3D11: Fixed default settings for user created device. --- src/renderer_d3d11.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer_d3d11.cpp b/src/renderer_d3d11.cpp index 2eda1b1e..3dd6f670 100644 --- a/src/renderer_d3d11.cpp +++ b/src/renderer_d3d11.cpp @@ -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; }