diff options
author | Christian Hergert <christian@hergert.me> | 2020-02-21 22:36:31 +0000 |
---|---|---|
committer | Jonas Ã…dahl <jadahl@gmail.com> | 2020-02-21 22:36:31 +0000 |
commit | 4c421959dc4aab4f6b875dcf1914b9cb91fa13d7 (patch) | |
tree | e747fd5cacc13b2f295931cde5ca95a4c6bfb5f7 /src/compositor/meta-shaped-texture.c | |
parent | aedcfcd0108814dc6b8b7377d9ef3062d7dea390 (diff) | |
download | mutter-4c421959dc4aab4f6b875dcf1914b9cb91fa13d7.tar.gz |
clutter: fix hole in ClutterPaintNode
Fixing the missalignment takes the structure from 80 bytes down to 72.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1081
Diffstat (limited to 'src/compositor/meta-shaped-texture.c')
-rw-r--r-- | src/compositor/meta-shaped-texture.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c index 85a5143f9..6f30325cd 100644 --- a/src/compositor/meta-shaped-texture.c +++ b/src/compositor/meta-shaped-texture.c @@ -443,7 +443,7 @@ paint_clipped_rectangle_node (MetaShapedTexture *stex, coords[7] = coords[3]; node = clutter_pipeline_node_new (pipeline); - clutter_paint_node_set_name (node, "MetaShapedTexture (clipped)"); + clutter_paint_node_set_static_name (node, "MetaShapedTexture (clipped)"); clutter_paint_node_add_child (root_node, node); clutter_paint_node_add_multitexture_rectangle (node, @@ -664,7 +664,7 @@ do_paint_content (MetaShapedTexture *stex, g_autoptr (ClutterPaintNode) node = NULL; node = clutter_pipeline_node_new (blended_pipeline); - clutter_paint_node_set_name (node, "MetaShapedTexture (unclipped)"); + clutter_paint_node_set_static_name (node, "MetaShapedTexture (unclipped)"); clutter_paint_node_add_child (root_node, node); /* 3) blended_tex_region is NULL. Do a full paint. */ @@ -1241,7 +1241,7 @@ get_image_via_offscreen (MetaShapedTexture *stex, 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"); + clutter_paint_node_set_static_name (root_node, "MetaShapedTexture.offscreen"); paint_context = clutter_paint_context_new_for_framebuffer (fb); |