diff --git a/src/legacy/i810/i810_cursor.c b/src/legacy/i810/i810_cursor.c index 2ac03e9b..98cc36a0 100644 --- a/src/legacy/i810/i810_cursor.c +++ b/src/legacy/i810/i810_cursor.c @@ -132,8 +132,8 @@ static void I810LoadCursorARGB (ScrnInfoPtr pScrn, CursorPtr pCurs) { for (x = 0; x < w; x++) *pcurs++ = *image++; - for (; x < 64; x++) - *pcurs++ = 0; + for (; x < 64; x++) + *pcurs++ = 0; } for (; y < 64; y++) diff --git a/src/sna/sna_blt.c b/src/sna/sna_blt.c index 8f7b8a3e..32179bfd 100644 --- a/src/sna/sna_blt.c +++ b/src/sna/sna_blt.c @@ -2355,9 +2355,9 @@ fill: hint |= PREFER_GPU; if (dst->pCompositeClip->data == NULL && (width | height)) hint |= IGNORE_CPU; - if (width == tmp->dst.pixmap->drawable.width && - height == tmp->dst.pixmap->drawable.height) - hint |= REPLACES; + if (width == tmp->dst.pixmap->drawable.width && + height == tmp->dst.pixmap->drawable.height) + hint |= REPLACES; } tmp->dst.bo = sna_drawable_use_bo(dst->pDrawable, hint, &dst_box, &tmp->damage);