summaryrefslogtreecommitdiff
path: root/src/sna/sna_trapezoids.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-29 11:39:47 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-29 11:39:47 +0100
commit44e41536b7728c03a4899a97242960ae7ed35624 (patch)
treeae52c58b39aabe2c112416052c033eea9bb0c2cd /src/sna/sna_trapezoids.c
parente6f9bfe1e20c4c76822d77598f4f1c7e10754929 (diff)
sna/trapezoids: Render the partial left-edge of fallback unaligned boxes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids.c')
-rw-r--r--src/sna/sna_trapezoids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c
index a591672e..72dcd3ef 100644
--- a/src/sna/sna_trapezoids.c
+++ b/src/sna/sna_trapezoids.c
@@ -2940,7 +2940,7 @@ blt_unaligned_box_row(PixmapPtr scratch,
} else {
if (pixman_fixed_frac(trap->left.p1.x)) {
blt_opacity(scratch,
- x1, x1,
+ x1, x1 + 1,
y1, y2,
covered * (SAMPLES_X - grid_coverage(SAMPLES_X, trap->left.p1.x)));
x1++;