fix(windows): properly break on the first matching DXGI output (#2962)
This commit is contained in:
parent
c6ed640daa
commit
adf068e44e
1 changed files with 2 additions and 0 deletions
|
|
@ -569,6 +569,8 @@ namespace platf::dxgi {
|
||||||
// Ensure offset starts at 0x0
|
// Ensure offset starts at 0x0
|
||||||
offset_x -= GetSystemMetrics(SM_XVIRTUALSCREEN);
|
offset_x -= GetSystemMetrics(SM_XVIRTUALSCREEN);
|
||||||
offset_y -= GetSystemMetrics(SM_YVIRTUALSCREEN);
|
offset_y -= GetSystemMetrics(SM_YVIRTUALSCREEN);
|
||||||
|
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue