Fix missing division in mali fbdev

This commit is contained in:
Rob Loach 2018-04-27 22:44:53 -04:00
parent faa99bd323
commit 71c031099b
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A

View File

@ -180,7 +180,7 @@ static bool gfx_ctx_mali_fbdev_set_video_mode(void *data,
mali->native_window.height = vinfo.yres;
mali->refresh_rate = 1000000.0f / vinfo.pixclock * 1000000.0f /
(vinfo.yres + vinfo.upper_margin + vinfo.lower_margin + vinfo.vsync_len)
(vinfo.yres + vinfo.upper_margin + vinfo.lower_margin + vinfo.vsync_len) /
(vinfo.xres + vinfo.left_margin + vinfo.right_margin + vinfo.hsync_len);
#ifdef HAVE_EGL