1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-28 12:40:23 +00:00

Merge pull request from RobLoach/gfx-context

Fix missing division in mali fbdev
This commit is contained in:
Twinaphex 2018-04-28 13:26:20 +02:00 committed by GitHub
commit 2439673dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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