mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
clutter/util: Use graphene APIs
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1439
This commit is contained in:
parent
462ade5afe
commit
3cb59050f3
@ -74,9 +74,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),
|
||||
|
Loading…
Reference in New Issue
Block a user