From 2ab068d3f2b252ad1f8dead9771d0396d03efbce Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Mon, 26 Jun 2017 11:55:28 +0200 Subject: [PATCH] D3DBase: Always create a stereo swapchain. --- Source/Core/VideoBackends/D3D/D3DBase.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/D3D/D3DBase.cpp b/Source/Core/VideoBackends/D3D/D3DBase.cpp index 9609297f4b..0f9f260bd8 100644 --- a/Source/Core/VideoBackends/D3D/D3DBase.cpp +++ b/Source/Core/VideoBackends/D3D/D3DBase.cpp @@ -303,7 +303,10 @@ HRESULT Create(HWND wnd) swap_chain_desc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL; swap_chain_desc.Width = xres; swap_chain_desc.Height = yres; - swap_chain_desc.Stereo = g_ActiveConfig.iStereoMode == STEREO_QUADBUFFER; + + // By always creating a stereo swapchain we can toggle Quad-Buffered stereoscopy + // while the game is running. + swap_chain_desc.Stereo = TRUE; #if defined(_DEBUG) || defined(DEBUGFAST) // Creating debug devices can sometimes fail if the user doesn't have the correct