forked from enlightenment/efl
evas: remove float comparison warnings for evas_canvas3d_node
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
cbc60f1dd1
commit
f411616069
|
@ -34,9 +34,9 @@ _generate_unic_color_key(Evas_Color *color, Evas_Color *bg_color, Evas_Canvas3D_
|
|||
|
||||
GET_NEXT_COLOR
|
||||
/*Get another color if color equal with background color*/
|
||||
if ((bg_color->r == (double)red) &&
|
||||
(bg_color->g == (double)green) &&
|
||||
(bg_color->b == (double)blue))
|
||||
if ((EINA_DBL_CMP(bg_color->r, (double)red)) &&
|
||||
(EINA_DBL_CMP(bg_color->g, (double)green)) &&
|
||||
(EINA_DBL_CMP(bg_color->b, (double)blue)))
|
||||
{
|
||||
GET_NEXT_COLOR
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue