From c48a6d1e806d7bd92cad81eaffe734f8bf9e40f5 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Thu, 14 Aug 2025 10:59:42 -0400 Subject: Support 360 degree videos, Improve VR keybinds - Update liana API in cdio handler. - Fix some build configurations. Signed-off-by: Andrew Opalach --- src/libsink/desktop.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libsink') diff --git a/src/libsink/desktop.c b/src/libsink/desktop.c index 12008fd..6dee662 100644 --- a/src/libsink/desktop.c +++ b/src/libsink/desktop.c @@ -133,7 +133,7 @@ static void log_sink_status(struct camu_desktop *c) } bool show_hour = duration > 60u * 60u * 1000000u; - s32 offset = al_snprintf(status, sizeof(status), paused ? "⏸ " : "⏵ "); + s32 offset = al_snprintf(status, sizeof(status), paused ? "|| " : "|> "); offset += al_snprintf(status + offset, sizeof(status) - offset, "["); offset += camu_print_time(status + offset, sizeof(status) - offset, pts, show_hour, 2); offset += al_snprintf(status + offset, sizeof(status) - offset, "/"); @@ -208,6 +208,8 @@ bool camu_desktop_open(struct camu_desktop *c, const char *window_name) if (!camu_screen_create_renderer(&c->scr, c->renderer)) { return false; } + // Need to render twice for the window to show early. + c->renderer->render(c->renderer, &c->scr, true); c->renderer->render(c->renderer, &c->scr, true); #ifdef DESKTOP_NULL_AUDIO if (!camu_mixer_init(&c->mixer, (struct camu_audio *)&audio_plugin_null)) { -- cgit v1.2.3-101-g0448