mirror of
https://github.com/libretro/RetroArch
synced 2025-02-23 15:40:35 +00:00
(d3d_ctx.cpp) Use set_title function
This commit is contained in:
parent
efc8df02f0
commit
492818deed
@ -79,13 +79,12 @@ static void gfx_ctx_d3d_update_title(void *data)
|
||||
char buf[128] = {0};
|
||||
char buffer_fps[128] = {0};
|
||||
settings_t *settings = config_get_ptr();
|
||||
HWND window = win32_get_window();
|
||||
|
||||
if (video_monitor_get_fps(buf, sizeof(buf),
|
||||
buffer_fps, sizeof(buffer_fps)))
|
||||
{
|
||||
#ifndef _XBOX
|
||||
SetWindowText(window, buf);
|
||||
ui_window_win32_set_title(&main_window, buf);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user