From d9fce26801aac340dc0c1914db48c776b90170a6 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 20 Sep 2012 19:54:46 +0200 Subject: [PATCH] Log DRM frame as well in KMS. --- gfx/context/drm_egl_ctx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/context/drm_egl_ctx.c b/gfx/context/drm_egl_ctx.c index 78fb3be810..ee18446c6e 100644 --- a/gfx/context/drm_egl_ctx.c +++ b/gfx/context/drm_egl_ctx.c @@ -132,8 +132,8 @@ static void page_flip_handler(int fd, unsigned frame, unsigned sec, unsigned use hit_vblanks++; else { - RARCH_LOG("[KMS/EGL]: Missed %u VBlank(s) (Frame: %u).\n", - missed, frame - first_page_flip); + RARCH_LOG("[KMS/EGL]: Missed %u VBlank(s) (Frame: %u, DRM frame: %u).\n", + missed, frame - first_page_flip, frame); missed_vblanks += missed; unsigned flip_time = current_usec - flip_request_usec;