From 1e6558d18df0bdb629405a112918df1d0649f69f Mon Sep 17 00:00:00 2001 From: ToadKing Date: Thu, 15 Nov 2012 19:08:07 -0500 Subject: [PATCH] [VC] log FPS to console --- gfx/context/vc_egl_ctx.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gfx/context/vc_egl_ctx.c b/gfx/context/vc_egl_ctx.c index 675fc0c4ca..c1c9232180 100644 --- a/gfx/context/vc_egl_ctx.c +++ b/gfx/context/vc_egl_ctx.c @@ -110,6 +110,13 @@ static void gfx_ctx_set_resize(unsigned width, unsigned height) static void gfx_ctx_update_window_title(bool reset) { (void)reset; + if (reset) + gfx_window_title_reset(); + + char buf[128]; + + if (gfx_window_title(buf, sizeof(buf))) + RARCH_LOG("%s.\n", buf); } static void gfx_ctx_get_video_size(unsigned *width, unsigned *height)