[mutter/gbsneto/content: 30/31] fixup! shaped-texture: Implement ClutterContent



commit 30cc0713dfccc623b2c5afb01018165a8826c474
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Jan 29 13:24:18 2019 -0200

    fixup! shaped-texture: Implement ClutterContent

 src/compositor/meta-shaped-texture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c
index fedf1fefe..567d739e2 100644
--- a/src/compositor/meta-shaped-texture.c
+++ b/src/compositor/meta-shaped-texture.c
@@ -1147,7 +1147,7 @@ get_image_via_offscreen (MetaShapedTexture     *stex,
                          -(stex->dst_width / 2.0),
                          -(stex->dst_height / 2.0), 0);
 
-  clear_color = CLUTTER_COLOR_INIT (0, 0, 0, 0);
+  clear_color = (ClutterColor) { 0, 0, 0, 0 };
 
   root_node = clutter_root_node_new (fb, &clear_color, COGL_BUFFER_BIT_COLOR);
   clutter_paint_node_set_name (root_node, "MetaShapedTexture.offscreen");


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