1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxgi] Don't check window validity in IDXGISwapchain::GetFullscreenState

This causes an error on exit in Jump King, which uses SharpDX.
This commit is contained in:
Andrew Eikum 2020-01-16 08:27:34 -06:00 committed by Philip Rebohle
parent 9e5e4c1cfc
commit 5706ec55e4

View File

@ -182,9 +182,6 @@ namespace dxvk {
HRESULT STDMETHODCALLTYPE DxgiSwapChain::GetFullscreenState(
BOOL* pFullscreen,
IDXGIOutput** ppTarget) {
if (!IsWindow(m_window))
return DXGI_ERROR_INVALID_CALL;
HRESULT hr = S_OK;
if (pFullscreen != nullptr)