forked from enlightenment/efl
evas: remove float comparison warnings for evas_canvas3d_primitive
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
239d1401db
commit
b58057e2e7
|
@ -136,8 +136,8 @@ _evas_canvas3d_primitive_tex_scale_set(Eo *obj EINA_UNUSED,
|
|||
Evas_Real x,
|
||||
Evas_Real y)
|
||||
{
|
||||
if (x) pd->tex_scale.x = x;
|
||||
if (y) pd->tex_scale.y = y;
|
||||
if (!EINA_DBL_CMP(x, 0.0)) pd->tex_scale.x = x;
|
||||
if (!EINA_DBL_CMP(y, 0.0)) pd->tex_scale.y = y;
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
Loading…
Reference in New Issue