[client] app: make shared application state access thread-safe

This commit is contained in:
Geoffrey McRae
2026-07-28 12:41:35 +10:00
parent f980248221
commit f4ee349880
4 changed files with 85 additions and 67 deletions

View File

@@ -66,7 +66,7 @@ static void bind_input(int sc, void * opaque)
static void bind_quit(int sc, void * opaque)
{
g_state.state = APP_STATE_SHUTDOWN;
app_setState(APP_STATE_SHUTDOWN);
}
static void bind_mouseSens(int sc, void * opaque)