[client] main: alerts and overlay toggles should invalidate the window

This commit is contained in:
Geoffrey McRae
2021-08-01 18:04:43 +10:00
parent 17687fdea3
commit 2d74c93232
4 changed files with 19 additions and 10 deletions

View File

@@ -51,11 +51,13 @@ static void bind_video(int sc, void * opaque)
static void bind_showFPS(int sc, void * opaque)
{
g_state.showFPS = !g_state.showFPS;
app_invalidateWindow();
}
static void bind_showTiming(int sc, void * opaque)
{
g_state.showTiming = !g_state.showTiming;
app_invalidateWindow();
}
static void bind_rotate(int sc, void * opaque)