summaryrefslogtreecommitdiff
path: root/src/cairo-gl-msaa-compositor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-gl-msaa-compositor.c')
-rw-r--r--src/cairo-gl-msaa-compositor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-gl-msaa-compositor.c b/src/cairo-gl-msaa-compositor.c
index ca9fe22ff..577373379 100644
--- a/src/cairo-gl-msaa-compositor.c
+++ b/src/cairo-gl-msaa-compositor.c
@@ -583,6 +583,10 @@ _prevent_overlapping_strokes (cairo_gl_context_t *ctx,
be drawn there until the stencil buffer is reset or the stencil test
is disabled. */
glStencilOp (GL_ZERO, GL_ZERO, GL_ZERO);
+
+ _cairo_clip_destroy (setup->dst->clip_on_stencil_buffer);
+ setup->dst->clip_on_stencil_buffer = NULL;
+
return CAIRO_INT_STATUS_SUCCESS;
}