xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Thu Oct 17 09:15:32 PDT 2013
src/sna/sna_accel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2cf2312372ebde4168ae1e66a97d5c6b8daff1c3
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Oct 17 17:14:13 2013 +0100
sna: Fix computation of clip boxes for stipple uploads
References: https://bugs.freedesktop.org/show_bug.cgi?id=67865
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 4f44490..d63b1f4 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -12304,9 +12304,9 @@ sna_poly_fill_rect_stippled_1_blt(DrawablePtr drawable,
void *ptr;
unclipped.x1 = r->x + drawable->x;
- unclipped.x2 = bound(unclipped.x2, r->width);
+ unclipped.x2 = bound(unclipped.x1, r->width);
unclipped.y1 = r->y + drawable->y;
- unclipped.y2 = bound(unclipped.y2, r->height);
+ unclipped.y2 = bound(unclipped.y1, r->height);
r++;
c = find_clip_box_for_y(clip_start,
More information about the xorg-commit
mailing list