1
0
mirror of https://github.com/EduApps-CDG/OpenDX synced 2024-12-30 09:45:37 +01:00

[d3d9] Disallow additional fullscreen swapchains

From Wine tests...
This commit is contained in:
Joshua Ashton 2020-02-28 01:39:52 +00:00
parent 0757097fa0
commit 632812b88f

View File

@ -3436,6 +3436,10 @@ namespace dxvk {
if (ppSwapChain == nullptr || pPresentationParameters == nullptr)
return D3DERR_INVALIDCALL;
// Additional fullscreen swapchains are forbidden.
if (!pPresentationParameters->Windowed)
return D3DERR_INVALIDCALL;
m_implicitSwapchain->Invalidate(pPresentationParameters->hDeviceWindow);
try {