From b93d7658f669f6dc1cfacebcfe955a1e113a537c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 16 Mar 2011 10:37:22 +1000 Subject: 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 --- src/radeon_exa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radeon_exa.c b/src/radeon_exa.c index aa3d55e..4f31b82 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 -- cgit v1.2.3