mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
D3D: Only try to apply exclusive mode when the renderer is in focus.
This commit is contained in:
parent
192c69f595
commit
3b9c070ee0
2 changed files with 17 additions and 21 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue