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

[d3d9] Use wsi's isWindow in LeaveFullscreenMode

This commit is contained in:
Joshua Ashton 2022-08-21 18:33:09 +00:00
parent 5f9df1f6e3
commit c6c8acb000

View File

@ -1046,7 +1046,7 @@ namespace dxvk {
HRESULT D3D9SwapChainEx::LeaveFullscreenMode() {
if (!IsWindow(m_window))
if (!wsi::isWindow(m_window))
return D3DERR_INVALIDCALL;
if (FAILED(RestoreDisplayMode(m_monitor)))