fix(windows): properly break on the first matching DXGI output (#2962)

This commit is contained in:
ns6089 2024-08-05 01:40:28 +03:00 committed by GitHub
commit adf068e44e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -569,6 +569,8 @@ namespace platf::dxgi {
// Ensure offset starts at 0x0
offset_x -= GetSystemMetrics(SM_XVIRTUALSCREEN);
offset_y -= GetSystemMetrics(SM_YVIRTUALSCREEN);
break;
}
}