summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_output.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm/ecore_drm_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c
index 1de8735b0d..d5bb43cc89 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -277,7 +277,7 @@ _ecore_drm_output_mode_add(Ecore_Drm_Output *output, drmModeModeInfo *info)
277 mode->width = info->hdisplay; 277 mode->width = info->hdisplay;
278 mode->height = info->vdisplay; 278 mode->height = info->vdisplay;
279 279
280 refresh = (info->clock * 1000000LL / info->htotal + info->vtotal / 2) / info->vtotal; 280 refresh = (info->clock * 1000LL / info->htotal + info->vtotal / 2) / info->vtotal;
281 if (info->flags & DRM_MODE_FLAG_INTERLACE) 281 if (info->flags & DRM_MODE_FLAG_INTERLACE)
282 refresh *= 2; 282 refresh *= 2;
283 if (info->flags & DRM_MODE_FLAG_DBLSCAN) 283 if (info->flags & DRM_MODE_FLAG_DBLSCAN)