mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-21 01:13:38 +00:00
Need to use minPitch in miScanLineWidth() to get the shrinked
linePitch.
This commit is contained in:
parent
fa877d7ff2
commit
66702f3c1c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue