1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-02 10:24:12 +01:00

[dxgi] GetDisplayModeList: Report DXGI_MODE_SCALING_UNSPECIFIED

This is what happens on Windows 10. In addition, we might have
to add CENTERED and STRETCHED entries for non-native modes.
This commit is contained in:
Philip Rebohle 2018-04-18 16:04:17 +02:00
parent ffe3028285
commit bb3e3c9e4f
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -203,7 +203,7 @@ namespace dxvk {
mode.RefreshRate = { devMode.dmDisplayFrequency, 1 };
mode.Format = EnumFormat;
mode.ScanlineOrdering = DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE;
mode.Scaling = DXGI_MODE_SCALING_CENTERED;
mode.Scaling = DXGI_MODE_SCALING_UNSPECIFIED;
modeList.push_back(mode);
}