mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
Merge pull request #6646 from RobLoach/gfx-context
Fix missing division in mali fbdev
This commit is contained in:
commit
2439673dcf
@ -180,7 +180,7 @@ static bool gfx_ctx_mali_fbdev_set_video_mode(void *data,
|
|||||||
mali->native_window.height = vinfo.yres;
|
mali->native_window.height = vinfo.yres;
|
||||||
|
|
||||||
mali->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.yres + vinfo.upper_margin + vinfo.lower_margin + vinfo.vsync_len) /
|
||||||
(vinfo.xres + vinfo.left_margin + vinfo.right_margin + vinfo.hsync_len);
|
(vinfo.xres + vinfo.left_margin + vinfo.right_margin + vinfo.hsync_len);
|
||||||
|
|
||||||
#ifdef HAVE_EGL
|
#ifdef HAVE_EGL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user