st: Update to new API for creating paint context

It now takes a redraw clip and flags.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1207
This commit is contained in:
Jonas Ådahl 2020-04-21 09:03:43 +02:00
parent 02f40b3b63
commit 0dba12193d

View File

@ -517,7 +517,9 @@ _st_create_shadow_pipeline_from_actor (StShadow *shadow_spec,
clutter_actor_set_opacity_override (actor, 255);
paint_context = clutter_paint_context_new_for_framebuffer (fb);
paint_context =
clutter_paint_context_new_for_framebuffer (fb, NULL,
CLUTTER_PAINT_FLAG_NONE);
clutter_actor_paint (actor, paint_context);
clutter_paint_context_destroy (paint_context);