diff options
author | Dave Airlie <airlied@redhat.com> | 2011-03-16 10:37:22 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-03-16 10:37:22 +1000 |
commit | b93d7658f669f6dc1cfacebcfe955a1e113a537c (patch) | |
tree | f2d4f37712518c72c6c4873977f72840afbafd14 /src/radeon_exa.c | |
parent | 8567b8cd9e136ef69906e02286b3752db2404741 (diff) |
radeon/exa: fix scaling check
This caused a regression in firefox, as these numbers are xFixed
values hence 1 is actually 65536.
Should fix: https://bugzilla.redhat.com/show_bug.cgi?id=685084
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_exa.c')
-rw-r--r-- | src/radeon_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c index aa3d55e2..4f31b820 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -184,7 +184,7 @@ Bool radeon_transform_is_affine(PictTransformPtr t) if (t == NULL) return TRUE; /* the shaders don't handle scaling either */ - return t->matrix[2][0] == 0 && t->matrix[2][1] == 0 && t->matrix[2][2] == 1; + return t->matrix[2][0] == 0 && t->matrix[2][1] == 0 && t->matrix[2][2] == IntToxFixed(1); } #if X_BYTE_ORDER == X_BIG_ENDIAN |