mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
gfx_ctx_wgl_update_title - small cleanup
This commit is contained in:
parent
93f0679ead
commit
df3bb2e7e8
@ -411,17 +411,17 @@ static bool gfx_ctx_wgl_set_resize(void *data,
|
||||
|
||||
static void gfx_ctx_wgl_update_title(void *data, void *data2)
|
||||
{
|
||||
const ui_window_t *window = ui_companion_driver_get_window_ptr();
|
||||
char title[128];
|
||||
|
||||
if (window)
|
||||
title[0] = '\0';
|
||||
|
||||
video_driver_get_window_title(title, sizeof(title));
|
||||
|
||||
if (title[0])
|
||||
{
|
||||
char title[128];
|
||||
const ui_window_t *window = ui_companion_driver_get_window_ptr();
|
||||
|
||||
title[0] = '\0';
|
||||
|
||||
video_driver_get_window_title(title, sizeof(title));
|
||||
|
||||
if (title[0])
|
||||
if (window)
|
||||
window->set_title(&main_window, title);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user