[mutter/gbsneto/graphene-matrix: 29/39] clutter/util: Use graphene APIs
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/graphene-matrix: 29/39] clutter/util: Use graphene APIs
- Date: Tue, 22 Sep 2020 12:55:02 +0000 (UTC)
commit cb0c8f2a43d5c36e733aa0112a7ea363bf18b0d9
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Sep 11 17:50:33 2020 -0300
clutter/util: Use graphene APIs
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1439
clutter/clutter/clutter-util.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/clutter/clutter/clutter-util.c b/clutter/clutter/clutter-util.c
index 7d4d1f2c0e..12bb396a98 100644
--- a/clutter/clutter/clutter-util.c
+++ b/clutter/clutter/clutter-util.c
@@ -72,9 +72,8 @@ _clutter_util_fully_transform_vertices (const graphene_matrix_t *modelview,
if (n_vertices >= 4)
{
/* XXX: we should find a way to cache this per actor */
- cogl_matrix_multiply (&modelview_projection,
- projection,
- modelview);
+ graphene_matrix_multiply (modelview, projection, &modelview_projection);
+
cogl_graphene_matrix_project_points (&modelview_projection,
3,
sizeof (graphene_point3d_t),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]