mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 05:16:12 +00:00
Fix Wayland refresh rate logging.
This commit is contained in:
parent
d2fafc5451
commit
471d06d133
@ -177,8 +177,10 @@ static void display_handle_mode(void *data,
|
||||
wl->width = width;
|
||||
wl->height = height;
|
||||
|
||||
RARCH_LOG("[Wayland]: Video mode: %d x %d @ %d Hz.\n",
|
||||
width, height, refresh);
|
||||
/* Certain older Wayland implementations report in Hz,
|
||||
* but it should be mHz. */
|
||||
RARCH_LOG("[Wayland]: Video mode: %d x %d @ %.4f Hz.\n",
|
||||
width, height, refresh > 1000 ? refresh / 1000.0 : (double)refresh);
|
||||
}
|
||||
|
||||
static void display_handle_done(void *data,
|
||||
|
Loading…
x
Reference in New Issue
Block a user