summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i_video.c b/src/i_video.c
index ac75dd50..606fb5ac 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -929,6 +929,7 @@ static void UpdateGrab(void)
// example.
SDL_WarpMouse(screen->w - 16, screen->h - 16);
+ SDL_GetRelativeMouseState(NULL, NULL);
}
currently_grabbed = grab;