diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-15 09:02:07 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-15 09:02:07 +0100 |
commit | ef95899f5b21453daeabf81a3015b22456d21fec (patch) | |
tree | 9fc525ea197b08e1de67cf8559b8f61960368f41 /uxa/uxa-render.c | |
parent | 9c3da71349bcfeabae08f1572cf602c357bf7641 (diff) |
uxa: Check the w-scaling component is 1 for an translation matrix
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa/uxa-render.c')
-rw-r--r-- | uxa/uxa-render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c index fbecf00b..b4b7a97c 100644 --- a/uxa/uxa-render.c +++ b/uxa/uxa-render.c @@ -706,7 +706,8 @@ transform_is_integer_translation(PictTransformPtr t, int *tx, int *ty) t->matrix[1][0] != 0 || t->matrix[1][1] != IntToxFixed(1) || t->matrix[2][0] != 0 || - t->matrix[2][1] != 0) + t->matrix[2][1] != 0 || + t->matrix[2][2] != IntToxFixed(1)) return FALSE; if (xFixedFrac(t->matrix[0][2]) != 0 || |