summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/D3DBase.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2014-07-16 15:53:33 +0200
committerJules Blok <jules.blok@gmail.com>2014-07-21 17:11:13 +0200
commit36ea1890c8d1b6084a5bc2e80093878af400810a (patch)
tree592aa6253df915b4f1f24caed029bbbefde08c71 /Source/Core/VideoBackends/D3D/D3DBase.cpp
parentcd94ff19663ad1d0bb65395d8b822b56d3603863 (diff)
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.
Diffstat (limited to 'Source/Core/VideoBackends/D3D/D3DBase.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D/D3DBase.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/D3D/D3DBase.cpp b/Source/Core/VideoBackends/D3D/D3DBase.cpp
index 1d03e9b33b..21226e442c 100644
--- a/Source/Core/VideoBackends/D3D/D3DBase.cpp
+++ b/Source/Core/VideoBackends/D3D/D3DBase.cpp
@@ -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);