From 69eba93764f472f26808b07847b7ea45334dc3dd Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Sun, 14 Aug 2022 18:50:34 +0000 Subject: [PATCH] [d3d9] Make window proc code use new wsi interface --- src/d3d9/d3d9_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);