mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 11:08:12 +02:00
Fix bug where _cairo_image_surface_composite_trapezoids() computed the wrong stride for aliased masks
This commit is contained in:
parent
ca5760a289
commit
e0cff78b34
1 changed files with 1 additions and 1 deletions
|
|
@ -914,7 +914,7 @@ _cairo_image_surface_composite_trapezoids (cairo_operator_t op,
|
|||
format = PIXMAN_a1;
|
||||
ret = 1;
|
||||
assert (ret);
|
||||
mask_stride = (width + 31)/8;
|
||||
mask_stride = ((width + 31) / 8) & ~0x03;
|
||||
mask_bpp = 1;
|
||||
break;
|
||||
case CAIRO_ANTIALIAS_GRAY:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue