diff options
-rw-r--r-- | src/cairo-xcb-surface-render.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c index eec45c7f3..8cf0a3437 100644 --- a/src/cairo-xcb-surface-render.c +++ b/src/cairo-xcb-surface-render.c @@ -3638,6 +3638,9 @@ _cairo_xcb_render_compositor_paint (const cairo_compositor_t *compositor, return CAIRO_STATUS_SUCCESS; } + if (composite->clip == NULL) + return CAIRO_STATUS_NULL_POINTER; + _cairo_clip_steal_boxes(composite->clip, &boxes); status = _clip_and_composite_boxes (surface, op, source, &boxes, composite); _cairo_clip_unsteal_boxes (composite->clip, &boxes); |