summaryrefslogtreecommitdiff
path: root/hw/xfree86/ddc
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2006-09-14 18:41:59 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2006-09-14 18:41:59 -0400
commitced46e17777b635df9371c4cfaec3f8968b4dbcf (patch)
tree05bef9636b2e4b09a483d73656da42f12de3aeb3 /hw/xfree86/ddc
parentd89fee68d0e49211871cd9eb3893ed55c1d478a6 (diff)
Record all standard timings from EDID as modes, instead of just the first five.
Diffstat (limited to 'hw/xfree86/ddc')
-rw-r--r--hw/xfree86/ddc/ddcProperty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/ddc/ddcProperty.c b/hw/xfree86/ddc/ddcProperty.c
index ba8aaf8b8..7f078eca1 100644
--- a/hw/xfree86/ddc/ddcProperty.c
+++ b/hw/xfree86/ddc/ddcProperty.c
@@ -174,7 +174,7 @@ DDCModesFromStandardTiming(int scrnIndex, struct std_timings *timing)
DisplayModePtr Modes = NULL, Mode = NULL;
int i;
- for (i = 0; i < 5; i++)
+ for (i = 0; i < STD_TIMINGS; i++)
if (timing[i].hsize && timing[i].vsize && timing[i].refresh) {
Mode = xf86CVTMode(timing[i].hsize, timing[i].vsize,
timing[i].refresh, FALSE, FALSE);