mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 08:33:40 +00:00
Fix Display FPS
This commit is contained in:
parent
3002777196
commit
9c1885a46e
@ -554,7 +554,7 @@ void x11_update_window_title(void *data)
|
||||
char buf_fps[128] = {0};
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (video_monitor_get_fps(buf, sizeof(buf), NULL, 0))
|
||||
if (video_monitor_get_fps(buf, sizeof(buf), buf_fps, sizeof(buf_fps)))
|
||||
XStoreName(g_x11_dpy, g_x11_win, buf);
|
||||
if (settings->fps_show)
|
||||
runloop_msg_queue_push(buf_fps, 1, 1, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user