mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Let the Renderer decide when to exit fullscreen.
This ensures the transition from/to exclusive mode happens while the RenderFrame is fullscreen. This prevents fullscreen loops and relieves us of having to restore the window size after we exit fullscreen.
This commit is contained in:
parent
cd94ff1966
commit
36ea1890c8
8 changed files with 40 additions and 5 deletions
|
@ -440,9 +440,6 @@ void Reset()
|
|||
// release all back buffer references
|
||||
SAFE_RELEASE(backbuf);
|
||||
|
||||
// apply fullscreen state
|
||||
D3D::swapchain->SetFullscreenState(g_ActiveConfig.bFullscreen, nullptr);
|
||||
|
||||
// resize swapchain buffers
|
||||
RECT client;
|
||||
GetClientRect(hWnd, &client);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue