summaryrefslogtreecommitdiff
path: root/xserver/hw
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2019-08-15 14:48:46 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2019-08-15 14:48:46 +0000
commitdca12ad991fd2e02c8dbee83d62b4447b5bbc561 (patch)
treee0cc9a07838daeb9e568b95365f24d2ffc3c627d /xserver/hw
parent7954fc17f34e2f6e82597d8ffa37162b136163db (diff)
Don't prune duplicate modes there.
This function removes too many modes, causing trouble with the vesa driver at least. Problem reported by semarie@. Thanks.
Diffstat (limited to 'xserver/hw')
-rw-r--r--xserver/hw/xfree86/modes/xf86EdidModes.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xserver/hw/xfree86/modes/xf86EdidModes.c b/xserver/hw/xfree86/modes/xf86EdidModes.c
index 96249ac3a..1bc67b46e 100644
--- a/xserver/hw/xfree86/modes/xf86EdidModes.c
+++ b/xserver/hw/xfree86/modes/xf86EdidModes.c
@@ -1220,8 +1220,6 @@ xf86EdidMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC)
Monitor->Modes = Modes;
}
- Monitor->Modes = xf86PruneDuplicateModes(Monitor->Modes);
-
/* Update pointer to last mode */
for (Mode = Monitor->Modes; Mode && Mode->next; Mode = Mode->next) {}
Monitor->Last = Mode;