aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/unix/sdl_glimp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/unix/sdl_glimp.c b/code/unix/sdl_glimp.c
index 423f187..1136ac7 100644
--- a/code/unix/sdl_glimp.c
+++ b/code/unix/sdl_glimp.c
@@ -120,7 +120,9 @@ static qboolean sdlrepeatenabled = qfalse;
static cvar_t *in_mouse;
static cvar_t *in_disablemacosxmouseaccel;
+#ifdef MACOS_X
static double originalMouseSpeed = -1.0;
+#endif
cvar_t *in_subframe;
cvar_t *in_nograb; // this is strictly for developers