mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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:
parent
84737a5159
commit
7c58370673
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user