diff options
Diffstat (limited to 'pixman/src/icrect.c')
-rw-r--r-- | pixman/src/icrect.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pixman/src/icrect.c b/pixman/src/icrect.c index 94ff1e405..959699a3d 100644 --- a/pixman/src/icrect.c +++ b/pixman/src/icrect.c @@ -135,7 +135,7 @@ pixman_fill_rect_32bpp (pixman_image_t *dst, line = (char *)dst->pixels->data + xDst * 4 + yDst * dst->pixels->stride; - + int_pixel = *(uint32_t *)pixel; while (height-- > 0) { data = line; @@ -165,7 +165,7 @@ pixman_fill_rect_general (pixman_image_t *dst, line = (char *)dst->pixels->data + xDst * pixel_size + yDst * dst->pixels->stride; - + while (height-- > 0) { data = line; w = width; @@ -201,7 +201,7 @@ pixman_color_rects (pixman_image_t *dst, /* offset to the right place on the destination image */ xoff -= dst->pixels->x; yoff -= dst->pixels->y; - + clip = pixman_region_create(); pixman_region_union_rect (clip, clip, dst->pixels->x, dst->pixels->y, @@ -250,7 +250,7 @@ pixman_color_rects (pixman_image_t *dst, func = pixman_fill_rect_1bpp; else func = pixman_fill_rect_general; - + for (i = 0; i < n_clipped_rects; i++) { (*func) (dst, clipped_rects[i].x1, @@ -326,11 +326,11 @@ pixman_fill_rectangles (pixman_operator_t op, pixman_bits_t pixel; pixman_format_init (&rgbaFormat, PICT_a8r8g8b8); - + pixels = FbPixelsCreate (1, 1, rgbaFormat.depth); if (!pixels) goto bail1; - + pixman_color_to_pixel (&rgbaFormat, &color_s, &pixel); /* XXX: Originally, fb had the following: |