mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[dxgi] Enumerate interlaced modes if requested
This commit is contained in:
parent
af802fbff8
commit
16ff9b48cd
@ -301,8 +301,8 @@ namespace dxvk {
|
||||
std::vector<DXGI_MODE_DESC1> modeList;
|
||||
|
||||
while (wsi::getDisplayMode(m_monitor, srcModeId++, &devMode)) {
|
||||
// Skip interlaced modes altogether
|
||||
if (devMode.interlaced)
|
||||
// Only enumerate interlaced modes if requested.
|
||||
if (devMode.interlaced && !(Flags & DXGI_ENUM_MODES_INTERLACED))
|
||||
continue;
|
||||
|
||||
// Skip modes with incompatible formats
|
||||
|
Loading…
x
Reference in New Issue
Block a user