D3DBase: Only use a stereo swapchain if quad-buffering is enabled.
This commit is contained in:
parent
8d7f28e79b
commit
f4f6782ae6
|
@ -301,11 +301,7 @@ HRESULT Create(HWND wnd)
|
|||
swap_chain_desc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD;
|
||||
swap_chain_desc.Width = xres;
|
||||
swap_chain_desc.Height = yres;
|
||||
|
||||
// By creating a stereo swapchain early we can toggle Quad-Buffered stereoscopy
|
||||
// while the game is running.
|
||||
swap_chain_desc.Stereo =
|
||||
g_ActiveConfig.iStereoMode == STEREO_QUADBUFFER || factory->IsWindowedStereoEnabled();
|
||||
swap_chain_desc.Stereo = g_ActiveConfig.iStereoMode == STEREO_QUADBUFFER;
|
||||
|
||||
#if defined(_DEBUG) || defined(DEBUGFAST)
|
||||
// Creating debug devices can sometimes fail if the user doesn't have the correct
|
||||
|
|
Loading…
Reference in New Issue