summaryrefslogtreecommitdiff
path: root/src/i_video.c
diff options
context:
space:
mode:
authorSimon Howard2013-10-12 03:22:10 +0000
committerSimon Howard2013-10-12 03:22:10 +0000
commit6cf2d4cc8cfec2037ac55535ef69fe5b7bb39cb8 (patch)
tree3bb0d8bbd54e2ae3b6d0a3e2d2118e270eb9ce85 /src/i_video.c
parent6e09cdf285c5f7526138c905130d17c7248eef63 (diff)
downloadchocolate-doom-6cf2d4cc8cfec2037ac55535ef69fe5b7bb39cb8.tar.gz
chocolate-doom-6cf2d4cc8cfec2037ac55535ef69fe5b7bb39cb8.tar.bz2
chocolate-doom-6cf2d4cc8cfec2037ac55535ef69fe5b7bb39cb8.zip
Tweak mouse grab behavior: don't arbitrarily warp the mouse at game
startup. Subversion-branch: /branches/v2-branch Subversion-revision: 2699
Diffstat (limited to 'src/i_video.c')
-rw-r--r--src/i_video.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/i_video.c b/src/i_video.c
index 46264fdf..07c5b3b7 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -2203,11 +2203,6 @@ void I_InitGraphics(void)
while (SDL_PollEvent(&dummy));
- if (usemouse && !nomouse && (fullscreen || grabmouse))
- {
- CenterMouse();
- }
-
initialized = true;
// Call I_ShutdownGraphics on quit