summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-17 22:25:05 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-17 22:30:43 +0100
commit475562d713a00e2f60f7ca067d753fd965d71717 (patch)
tree9d1d9dbf580a08b04a2bdb52bd42b11326ac37e5
parentc91fc0aad843ffc2660f6a3bf9b875d190e0b0dd (diff)
sna: Align some function parameters
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_accel.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index bd21380a..51b17feb 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -11443,7 +11443,7 @@ sna_poly_fill_rect_blt(DrawablePtr drawable,
struct kgem_bo *bo,
struct sna_damage **damage,
GCPtr gc, uint32_t pixel,
- int n, xRectangle *rect,
+ int n, const xRectangle *rect,
const BoxRec *extents,
bool clipped)
{
@@ -12398,12 +12398,12 @@ sna_poly_fill_rect_tiled_blt(DrawablePtr drawable,
return true;
}
} else {
- if ((tile->drawable.width | tile->drawable.height) <= 0xc &&
- is_power_of_two(tile->drawable.width) &&
- is_power_of_two(tile->drawable.height))
+ if ((tile->drawable.width | tile->drawable.height) <= 0xf &&
+ is_power_of_two(tile->drawable.width) &&
+ is_power_of_two(tile->drawable.height))
return sna_poly_fill_rect_tiled_nxm_blt(drawable, bo, damage,
- gc, n, rect,
- extents, clipped);
+ gc, n, rect,
+ extents, clipped);
tile_bo = sna_pixmap_get_source_bo(tile);
if (tile_bo == NULL) {