xf86-video-intel: src/sna/sna_accel.c

Chris Wilson ickle at kemper.freedesktop.org
Tue Feb 24 01:07:23 PST 2015


 src/sna/sna_accel.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 872a296850312956851f61cacb4f66c63ff990b8
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Feb 24 08:58:48 2015 +0000

    sna: Discard addition of drawable offset if 0
    
    Missing trim of "add 0" from
    
    commit 0b7a6666f82b4fa07f9c9d9a9c1819efc363b31b
    Author: Chris Wilson <chris at chris-wilson.co.uk>
    Date:   Mon Jan 5 14:00:44 2015 +0000
    
        sna: Partially unroll conversion of rectangles to boxes for fills
    
    not all redundant +(dx,dy) were dropped.
    
    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 b98c94f..7c7c734 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -11849,8 +11849,8 @@ sna_poly_fill_rect_blt(DrawablePtr drawable,
 					b[0].x2 = b[0].x1 + rect[0].width;
 					b[0].y2 = b[0].y1 + rect[0].height;
 
-					b[1].x1 = rect[1].x + dx;
-					b[1].y1 = rect[1].y + dy;
+					b[1].x1 = rect[1].x;
+					b[1].y1 = rect[1].y;
 					b[1].x2 = b[1].x1 + rect[1].width;
 					b[1].y2 = b[1].y1 + rect[1].height;
 


More information about the xorg-commit mailing list