summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cairo-xlib-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 9d49d87b..a8507ffd 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -2517,7 +2517,7 @@ _create_trapezoid_mask (cairo_xlib_surface_t *dst,
offset_traps[i].right.p2.y = _cairo_fixed_to_16_16(traps[i].right.p2.y) - 0x10000 * dst_y;
}
- solid_picture = _create_a8_picture (dst, &solid, width, height, TRUE);
+ solid_picture = _create_a8_picture (dst, &solid, 1, 1, TRUE);
if (solid_picture == None) {
XRenderFreePicture (dst->dpy, mask_picture);
free (offset_traps);