ecore_evas: remove float comparison warning from DRM backend.

This commit is contained in:
Cedric BAIL 2016-12-19 16:30:08 -08:00
parent c12d60c1e6
commit ae51b841d9
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ _drm_transparent_set(Ecore_Evas *ee, int transparent)
static void
_drm_aspect_set(Ecore_Evas *ee, double aspect)
{
if (ee->prop.aspect == aspect) return;
if (EINA_FLT_CMP(ee->prop.aspect, aspect)) return;
ee->prop.aspect = aspect;
}