mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -05:00
012b169a73
Most of the patches updated weren't failing but there were a number of hunk offsets when applying so it tidies that up. The change in mtx_transform.0.patch has been moved to clutter-actor.c.0.patch.
19 lines
649 B
Diff
19 lines
649 B
Diff
diff --git a/clutter/clutter-path.c b/clutter/clutter-path.c
|
|
index 6f93402..c459cdf 100644
|
|
--- a/clutter/clutter-path.c
|
|
+++ b/clutter/clutter-path.c
|
|
@@ -1217,11 +1217,11 @@ clutter_path_node_distance (const ClutterKnot *start,
|
|
* If we are using limited precision sqrti implementation, fallback on
|
|
* clib sqrt if the precission would be less than 10%
|
|
*/
|
|
-#if INT_MAX > CLUTTER_SQRTI_ARG_10_PERCENT
|
|
+#if INT_MAX > COGL_SQRTI_ARG_10_PERCENT
|
|
if (t <= COGL_SQRTI_ARG_10_PERCENT)
|
|
return cogl_sqrti (t);
|
|
else
|
|
- return COGL_FLOAT_TO_INT (sqrt(t));
|
|
+ return COGL_FLOAT_TO_INT (sqrtf(t));
|
|
#else
|
|
return cogl_sqrti (t);
|
|
#endif
|