rendernode: Work around a Cairo bug

When color-matrix modifying a clear surface, the surface would remain
clear according to Cairo.

That's very unfortunate when we prepare a mask for inverted-alpha
masking.
This commit is contained in:
Benjamin Otte 2023-07-03 07:14:53 +02:00
parent 84737a5159
commit 7c58370673

View File

@ -3770,6 +3770,8 @@ apply_color_matrix_to_pattern (cairo_pattern_t *pattern,
cairo_surface_mark_dirty (image_surface);
cairo_surface_unmap_image (surface, image_surface);
/* https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/487 */
cairo_surface_mark_dirty (surface);
}
static void