D3D: Only try to apply exclusive mode when the renderer is in focus.

This commit is contained in:
Jules Blok
2015-01-04 16:33:58 +01:00
parent 192c69f595
commit 3b9c070ee0
2 changed files with 17 additions and 21 deletions

View File

@ -265,7 +265,7 @@ HRESULT Create(HWND wnd)
swap_chain_desc.OutputWindow = wnd;
swap_chain_desc.SampleDesc.Count = 1;
swap_chain_desc.SampleDesc.Quality = 0;
swap_chain_desc.Windowed = !g_ActiveConfig.bFullscreen;
swap_chain_desc.Windowed = !g_Config.bFullscreen;
DXGI_OUTPUT_DESC out_desc;
memset(&out_desc, 0, sizeof(out_desc));