diff options
-rw-r--r-- | src/sna/sna_accel.c | 2 | ||||
-rw-r--r-- | src/sna/sna_blt.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index cf82cc56..31a9d3db 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -11435,8 +11435,6 @@ sna_poly_fill_rect_extents(DrawablePtr drawable, GCPtr gc, r++; while (--n) { - int32_t v; - if (r->width == 0 || r->height == 0) goto slow; diff --git a/src/sna/sna_blt.c b/src/sna/sna_blt.c index 2d7a4aa5..819d24ae 100644 --- a/src/sna/sna_blt.c +++ b/src/sna/sna_blt.c @@ -1709,7 +1709,7 @@ sna_blt_composite__convert(struct sna *sna, } if (tmp->src.transform) { - DBG(("%s: transforms not handled by the BLT\n")); + DBG(("%s: transforms not handled by the BLT\n", __FUNCTION__)); return false; } @@ -1738,7 +1738,7 @@ sna_blt_composite__convert(struct sna *sna, DBG(("%s: incompatible src/dst formats src=%08x, dst=%08x\n", __FUNCTION__, (unsigned)tmp->src.pict_format, - tmp->dst.format)); + (unsigned)tmp->dst.format)); return false; } |