Fix typo in mali fbdev driver.

This commit is contained in:
Brandon Wright 2018-04-27 12:42:46 -05:00
parent e52bb69b35
commit 0e013ced75

View File

@ -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);