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:
parent
9690b2a9e4
commit
69eba93764
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user