Oops. 62fc98c
had crtc offsets applied backwards (fix from server-1.6-branch)
Crtc offsets are in screen space, not crtc space, and hence should be
applied relative to the screen->crtc transform, not the crtc->transform.
This fix was found in the 'cherry pick' of 62fc98c
on server-1.6-branch,
clearly some new definition of 'cherry pick' that I am unaware of.
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
c090f5514d
commit
812e8d681a
|
@ -270,8 +270,8 @@ RRTransformCompute (int x,
|
|||
}
|
||||
else
|
||||
{
|
||||
pixman_f_transform_translate (f_inverse, f_transform, -x, -y);
|
||||
if (!pixman_transform_translate (&inverse, transform, F(-x), F(-y)))
|
||||
pixman_f_transform_translate (f_transform, f_inverse, x, y);
|
||||
if (!pixman_transform_translate (transform, &inverse, F(x), F(y)))
|
||||
overflow = TRUE;
|
||||
if (overflow)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue