mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Bigger buffer for gfx_window_title.
This commit is contained in:
parent
12d21cf7a6
commit
ac4e6e89a4
@ -372,7 +372,7 @@ static void* xv_init(video_info_t *video, const input_driver_t **input, void **i
|
|||||||
|
|
||||||
XMapWindow(xv->display, xv->window);
|
XMapWindow(xv->display, xv->window);
|
||||||
|
|
||||||
char buf[64];
|
char buf[128];
|
||||||
if (gfx_window_title(buf, sizeof(buf)))
|
if (gfx_window_title(buf, sizeof(buf)))
|
||||||
XStoreName(xv->display, xv->window, buf);
|
XStoreName(xv->display, xv->window, buf);
|
||||||
|
|
||||||
@ -610,6 +610,11 @@ static void xv_render_msg(xv_t *xv, const char *msg, unsigned width, unsigned he
|
|||||||
}
|
}
|
||||||
|
|
||||||
font_renderer_free_output(&out);
|
font_renderer_free_output(&out);
|
||||||
|
#else
|
||||||
|
(void)xv;
|
||||||
|
(void)msg;
|
||||||
|
(void)width;
|
||||||
|
(void)height;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -634,7 +639,7 @@ static bool xv_frame(void *data, const void* frame, unsigned width, unsigned hei
|
|||||||
x, y, owidth, oheight,
|
x, y, owidth, oheight,
|
||||||
true);
|
true);
|
||||||
|
|
||||||
char buf[64];
|
char buf[128];
|
||||||
if (gfx_window_title(buf, sizeof(buf)))
|
if (gfx_window_title(buf, sizeof(buf)))
|
||||||
XStoreName(xv->display, xv->window, buf);
|
XStoreName(xv->display, xv->window, buf);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user