diff options
| author | 2026-09-14 08:57:42 -0400 | |
|---|---|---|
| committer | 2026-09-14 08:57:42 -0400 | |
| commit | 8f208c26b6fa1a9f3372679c047cab559c06e26b (patch) | |
| tree | 323d894d6ff8e1ed1445c40cb1e2f5d3cee5e8e8 /src/screen/screen.h | |
| parent | c66c7c64ebd16287b892f8a780cffcabafba3799 (diff) | |
| download | camu-8f208c26b6fa1a9f3372679c047cab559c06e26b.tar.gz camu-8f208c26b6fa1a9f3372679c047cab559c06e26b.tar.bz2 camu-8f208c26b6fa1a9f3372679c047cab559c06e26b.zip | |
Server-side fixes from DIRECT_MODE testing
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/screen/screen.h')
| -rw-r--r-- | src/screen/screen.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/screen/screen.h b/src/screen/screen.h index 0be414f..bb28a1b 100644 --- a/src/screen/screen.h +++ b/src/screen/screen.h @@ -71,7 +71,8 @@ enum { }; enum { - CAMU_OSD_ALT_BINDS = 1 + CAMU_OSD_ALT_NONE = 0, + CAMU_OSD_ALT_BINDS }; enum { @@ -86,6 +87,7 @@ struct camu_osd { u32 show; u8 alt; u8 shown_for; + bool no_force_render; f64 flash; u32 connecting; u32 paused; @@ -140,7 +142,7 @@ struct camu_screen { void *userdata; }; -bool camu_screen_init(struct camu_screen *scr); +void camu_screen_init(struct camu_screen *scr); bool camu_screen_create_window(struct camu_screen *scr, const char *name); bool camu_screen_create_renderer(struct camu_screen *scr, struct camu_renderer *renderer); void camu_screen_add_buffer(struct camu_screen *scr, struct camu_video_buffer *buf); |