From 0e013ced7557f0d77b835e9558dd88d52d7b288c Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Fri, 27 Apr 2018 12:42:46 -0500 Subject: [PATCH] Fix typo in mali fbdev driver. --- gfx/drivers_context/mali_fbdev_ctx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/drivers_context/mali_fbdev_ctx.c b/gfx/drivers_context/mali_fbdev_ctx.c index b2ef7917c8..8e88fbbcc7 100644 --- a/gfx/drivers_context/mali_fbdev_ctx.c +++ b/gfx/drivers_context/mali_fbdev_ctx.c @@ -179,8 +179,7 @@ static bool gfx_ctx_mali_fbdev_set_video_mode(void *data, mali->native_window.width = vinfo.xres; mali->native_window.height = vinfo.yres; - mali->refresh_rate = - ctx->refresh_rate = 1000000.0f / vinfo.pixclock * 1000000.0f / + mali->refresh_rate = 1000000.0f / vinfo.pixclock * 1000000.0f / (vinfo.yres + vinfo.upper_margin + vinfo.lower_margin + vinfo.vsync_len) (vinfo.xres + vinfo.left_margin + vinfo.right_margin + vinfo.hsync_len);