summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_renderer_software_gradient_linear.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-01-06 09:57:46 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-01-06 15:58:46 -0800
commit8f1c071d6adbf6f8e2002eeeabdc7f3d7be9ef22 (patch)
tree17bddaa85bcdead8807053b009d1adf1c9eda71c /src/lib/ector/software/ector_renderer_software_gradient_linear.c
parentf9928b75c8c4a2e6c3f02aafb68c8a569a47ab04 (diff)
eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ.
Diffstat (limited to 'src/lib/ector/software/ector_renderer_software_gradient_linear.c')
-rw-r--r--src/lib/ector/software/ector_renderer_software_gradient_linear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ector/software/ector_renderer_software_gradient_linear.c b/src/lib/ector/software/ector_renderer_software_gradient_linear.c
index 616040239b..4bd4806b28 100644
--- a/src/lib/ector/software/ector_renderer_software_gradient_linear.c
+++ b/src/lib/ector/software/ector_renderer_software_gradient_linear.c
@@ -34,7 +34,7 @@ _ector_renderer_software_gradient_linear_ector_renderer_prepare(Eo *obj,
34 pd->linear.l = pd->linear.dx * pd->linear.dx + pd->linear.dy * pd->linear.dy; 34 pd->linear.l = pd->linear.dx * pd->linear.dx + pd->linear.dy * pd->linear.dy;
35 pd->linear.off = 0; 35 pd->linear.off = 0;
36 36
37 if (!EINA_DBL_CMP(pd->linear.l, 0.0)) 37 if (!EINA_DBL_EQ(pd->linear.l, 0.0))
38 { 38 {
39 pd->linear.dx /= pd->linear.l; 39 pd->linear.dx /= pd->linear.l;
40 pd->linear.dy /= pd->linear.l; 40 pd->linear.dy /= pd->linear.l;