mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 13:22:15 +00:00
14 lines
476 B
Diff
14 lines
476 B
Diff
|
diff --git a/clutter/clutter-bezier.c b/clutter/clutter-bezier.c
|
||
|
index 6a47626..66c4ddf 100644
|
||
|
--- a/clutter/clutter-bezier.c
|
||
|
+++ b/clutter/clutter-bezier.c
|
||
|
@@ -252,7 +252,7 @@ _clutter_bezier_init (ClutterBezier *b,
|
||
|
int x = _clutter_bezier_t2x (b, t);
|
||
|
int y = _clutter_bezier_t2y (b, t);
|
||
|
|
||
|
- guint l = clutter_sqrti ((y - yp)*(y - yp) + (x - xp)*(x - xp));
|
||
|
+ guint l = cogl_sqrti ((y - yp)*(y - yp) + (x - xp)*(x - xp));
|
||
|
|
||
|
l += length[i-1];
|
||
|
|