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:
parent
ffe3028285
commit
bb3e3c9e4f
@ -203,7 +203,7 @@ namespace dxvk {
|
|||||||
mode.RefreshRate = { devMode.dmDisplayFrequency, 1 };
|
mode.RefreshRate = { devMode.dmDisplayFrequency, 1 };
|
||||||
mode.Format = EnumFormat;
|
mode.Format = EnumFormat;
|
||||||
mode.ScanlineOrdering = DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE;
|
mode.ScanlineOrdering = DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE;
|
||||||
mode.Scaling = DXGI_MODE_SCALING_CENTERED;
|
mode.Scaling = DXGI_MODE_SCALING_UNSPECIFIED;
|
||||||
modeList.push_back(mode);
|
modeList.push_back(mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user