summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2020-09-11 17:43:40 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2020-09-25 11:19:51 -0300
commit6bf216b766f9999ea708e8aea739afc9240a2d56 (patch)
treeb41d5eb0fb0d75a32d724322c08cbd4baf908409
parent2854ed6aeabdb875b96238bb66acf60066390924 (diff)
downloadmutter-6bf216b766f9999ea708e8aea739afc9240a2d56.tar.gz
clutter/paint-volume: Use graphene APIs
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1439
-rw-r--r--clutter/clutter/clutter-paint-volume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clutter/clutter/clutter-paint-volume.c b/clutter/clutter/clutter-paint-volume.c
index 2758665cb..c78bfb6c9 100644
--- a/clutter/clutter/clutter-paint-volume.c
+++ b/clutter/clutter/clutter-paint-volume.c
@@ -1136,7 +1136,7 @@ _clutter_paint_volume_get_stage_paint_box (ClutterPaintVolume *pv,
_clutter_paint_volume_copy_static (pv, &projected_pv);
- cogl_matrix_init_identity (&modelview);
+ graphene_matrix_init_identity (&modelview);
/* If the paint volume isn't already in eye coordinates... */
if (pv->actor)
@@ -1190,7 +1190,7 @@ _clutter_paint_volume_transform_relative (ClutterPaintVolume *pv,
_clutter_paint_volume_set_reference_actor (pv, relative_to_ancestor);
- cogl_matrix_init_identity (&matrix);
+ graphene_matrix_init_identity (&matrix);
_clutter_actor_apply_relative_transformation_matrix (actor,
relative_to_ancestor,
&matrix);