diff options
author | Henry Zhao <henryz@localhost.localdomain> | 2007-06-01 23:55:40 -0700 |
---|---|---|
committer | Henry Zhao <henryz@localhost.localdomain> | 2007-06-01 23:55:40 -0700 |
commit | 66702f3c1c6c884e83744c72da173cc32f22b2f4 (patch) | |
tree | 8b5f0b0a8795df755f9fb890cd72f45d07e7c279 | |
parent | fa877d7ff25c4ec45288e1fea70d4f5e1baf3ef3 (diff) |
Need to use minPitch in miScanLineWidth() to get the shrinked
linePitch.
-rw-r--r-- | hw/xfree86/common/xf86Mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Mode.c b/hw/xfree86/common/xf86Mode.c index fc905dfac..b343788fc 100644 --- a/hw/xfree86/common/xf86Mode.c +++ b/hw/xfree86/common/xf86Mode.c @@ -1890,7 +1890,7 @@ xf86ValidateModes(ScrnInfoPtr scrp, DisplayModePtr availModes, virtX, virtY, vx, vy); virtX = vx; virtY = vy; - linePitch = miScanLineWidth(vx, vy, linePitch, apertureSize, + linePitch = miScanLineWidth(vx, vy, minPitch, apertureSize, BankFormat, pitchInc); } } |