mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[d3d9] Use wsi's isWindow in LeaveFullscreenMode
This commit is contained in:
parent
5f9df1f6e3
commit
c6c8acb000
@ -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)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user