mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 07:29:17 +01:00
[d3d9] Disallow additional fullscreen swapchains
From Wine tests...
This commit is contained in:
parent
0757097fa0
commit
632812b88f
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user