1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[d3d9] Make window proc code use new wsi interface

This commit is contained in:
Joshua Ashton 2022-08-14 18:50:34 +00:00 committed by Philip Rebohle
parent 9690b2a9e4
commit 69eba93764

View File

@ -66,7 +66,7 @@ namespace dxvk
D3DPRESENT_PARAMETERS params;
RECT rect;
GetMonitorRect(GetDefaultMonitor(), &rect);
wsi::getDesktopCoordinates(wsi::getDefaultMonitor(), &rect);
windowData.swapchain->GetPresentParameters(&params);
SetWindowPos(window, nullptr, rect.left, rect.top, params.BackBufferWidth, params.BackBufferHeight,
SWP_NOACTIVATE | SWP_NOZORDER);