D3D: Add quad-buffer stereoscopy support.

This commit is contained in:
Jules Blok
2017-06-25 21:08:17 +02:00
parent 6863abb31d
commit 179602e921
4 changed files with 13 additions and 7 deletions

View File

@ -303,6 +303,7 @@ 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;
#if defined(_DEBUG) || defined(DEBUGFAST)
// Creating debug devices can sometimes fail if the user doesn't have the correct