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:
parent
02f40b3b63
commit
0dba12193d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user