[gnome-shell] st: Update to new API for creating paint context



commit 0dba12193de8a61a506863f09beb56596c8be7b9
Author: Jonas Ådahl <jadahl gmail com>
Date:   Tue Apr 21 09:03:43 2020 +0200

    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

 src/st/st-private.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/st/st-private.c b/src/st/st-private.c
index 70d31ef76c..16a5e15dd6 100644
--- a/src/st/st-private.c
+++ b/src/st/st-private.c
@@ -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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]