Reapply for BB.
This commit is contained in:
parent
f46f26c42a
commit
ee3b000425
|
@ -323,7 +323,11 @@ static void gfx_ctx_set_resize(unsigned width, unsigned height)
|
|||
static void gfx_ctx_update_window_title(void)
|
||||
{
|
||||
char buf[128], buf_fps[128];
|
||||
gfx_get_fps(buf, sizeof(buf), buf_fps, sizeof(buf_fps));
|
||||
bool fps_draw = g_extern.lifecycle_mode_state & (1ULL << MODE_FPS_DRAW);
|
||||
gfx_get_fps(buf, sizeof(buf), fps_draw ? buf_fps : NULL, sizeof(buf_fps));
|
||||
|
||||
if (fps_draw)
|
||||
msg_queue_push(g_extern.msg_queue, buf_fps, 1, 1);
|
||||
}
|
||||
|
||||
static bool gfx_ctx_set_video_mode(
|
||||
|
|
Loading…
Reference in New Issue