summaryrefslogtreecommitdiff
path: root/src/sna/gen4_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-04-02 13:51:37 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-04-02 13:51:37 +0100
commit2d1f3cb198f2fe9602356a334a076abf3c68a9c7 (patch)
tree67e1a592578965bf97d1778e92a4a5b5825caf0b /src/sna/gen4_render.c
parent5c4dc9c5db7b2a5b936bdbc15536c5cf0f7f5f23 (diff)
sna/gen4: Remove the accidental debugging hack from the last commit
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen4_render.c')
-rw-r--r--src/sna/gen4_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index 1868e2fb..b8a2459d 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -1932,7 +1932,7 @@ gen4_composite_linear_init(struct sna *sna,
channel->embedded_transform.matrix[0][0] = pixman_double_to_fixed(dx);
channel->embedded_transform.matrix[0][1] = pixman_double_to_fixed(dy);
- channel->embedded_transform.matrix[0][2] = -pixman_double_to_fixed(dx*(x0+dst_x-x) + dy*(y0+dst_y-y) - .5/sf);
+ channel->embedded_transform.matrix[0][2] = -pixman_double_to_fixed(dx*(x0+dst_x-x) + dy*(y0+dst_y-y));
channel->embedded_transform.matrix[1][0] = 0;
channel->embedded_transform.matrix[1][1] = 0;