mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 05:52:11 +01:00
[dxgi] Return success from DxgiSwapChain::Present1() if window is destroyed
This commit is contained in:
parent
1ef4e60b69
commit
24eb875f02
@ -255,8 +255,9 @@ namespace dxvk {
|
||||
UINT SyncInterval,
|
||||
UINT PresentFlags,
|
||||
const DXGI_PRESENT_PARAMETERS* pPresentParameters) {
|
||||
|
||||
if (!IsWindow(m_window))
|
||||
return DXGI_ERROR_INVALID_CALL;
|
||||
return S_OK;
|
||||
|
||||
if (SyncInterval > 4)
|
||||
return DXGI_ERROR_INVALID_CALL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user