mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxgi] Enumerate interlaced modes if requested
This commit is contained in:
parent
af802fbff8
commit
16ff9b48cd
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue