mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +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;
|
D3DPRESENT_PARAMETERS params;
|
||||||
RECT rect;
|
RECT rect;
|
||||||
|
|
||||||
GetMonitorRect(GetDefaultMonitor(), &rect);
|
wsi::getDesktopCoordinates(wsi::getDefaultMonitor(), &rect);
|
||||||
windowData.swapchain->GetPresentParameters(¶ms);
|
windowData.swapchain->GetPresentParameters(¶ms);
|
||||||
SetWindowPos(window, nullptr, rect.left, rect.top, params.BackBufferWidth, params.BackBufferHeight,
|
SetWindowPos(window, nullptr, rect.left, rect.top, params.BackBufferWidth, params.BackBufferHeight,
|
||||||
SWP_NOACTIVATE | SWP_NOZORDER);
|
SWP_NOACTIVATE | SWP_NOZORDER);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user