summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Dreßler <verdre@v0yd.nl>2020-12-31 10:14:44 +0100
committerJonas Dreßler <verdre@v0yd.nl>2020-12-31 10:17:01 +0100
commit189eb4c7a745d89c85ab9cbf5aa71e4b6450fdbe (patch)
tree038d52a2f8ac9b261b38657de5a18bb43473fca5
parent65e7b9ae3aea0c74f6404e47f582d1a623dde5f4 (diff)
downloadmutter-189eb4c7a745d89c85ab9cbf5aa71e4b6450fdbe.tar.gz
clutter/actor: Remove superfluous line
This sets exactly the same thing as the line above and doesn't manipulate any parts of the calculation, too, it's most likely a very old copy-paste mistake, remove it. Thanks to Rafał Mikrut for discovering it. Fixes https://gitlab.gnome.org/GNOME/mutter/-/issues/1222 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1660>
-rw-r--r--clutter/clutter/clutter-actor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/clutter/clutter/clutter-actor.c b/clutter/clutter/clutter-actor.c
index 1f08a06bc..3bab3d1ac 100644
--- a/clutter/clutter/clutter-actor.c
+++ b/clutter/clutter/clutter-actor.c
@@ -13428,7 +13428,6 @@ clutter_actor_transform_stage_point (ClutterActor *self,
RQ[0][2] = DET (px, dx2, py, dy2) / det;
RQ[1][2] = DET (dx1, px, dy1, py) / det;
- RQ[1][2] = DET (dx1, px, dy1, py) / det;
RQ[2][2] = 1.0;
RQ[0][0] = v[1].x - v[0].x + (RQ[0][2] * v[1].x);
RQ[1][0] = v[2].x - v[0].x + (RQ[1][2] * v[2].x);