mirror of
https://github.com/libretro/RetroArch
synced 2025-03-10 07:14:13 +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};
|
char buf_fps[128] = {0};
|
||||||
settings_t *settings = config_get_ptr();
|
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);
|
XStoreName(g_x11_dpy, g_x11_win, buf);
|
||||||
if (settings->fps_show)
|
if (settings->fps_show)
|
||||||
runloop_msg_queue_push(buf_fps, 1, 1, false);
|
runloop_msg_queue_push(buf_fps, 1, 1, false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user