diff --git a/src/d3d9/d3d9_window.cpp b/src/d3d9/d3d9_window.cpp index a7fa4a7de..d52607976 100644 --- a/src/d3d9/d3d9_window.cpp +++ b/src/d3d9/d3d9_window.cpp @@ -66,7 +66,7 @@ namespace dxvk D3DPRESENT_PARAMETERS params; RECT rect; - GetMonitorRect(GetDefaultMonitor(), &rect); + wsi::getDesktopCoordinates(wsi::getDefaultMonitor(), &rect); windowData.swapchain->GetPresentParameters(¶ms); SetWindowPos(window, nullptr, rect.left, rect.top, params.BackBufferWidth, params.BackBufferHeight, SWP_NOACTIVATE | SWP_NOZORDER);