From 1e6abc2b65907f7b17d15afbfdb7f1c9939c32c1 Mon Sep 17 00:00:00 2001 From: Joseph Carter Date: Sat, 29 Apr 2000 19:53:47 +0000 Subject: [PATCH] cheap hack of a -nodga - this is ESSENTIAL for debugging! --- common/in_x11.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/in_x11.c b/common/in_x11.c index 8fc5655..a4aa2f4 100644 --- a/common/in_x11.c +++ b/common/in_x11.c @@ -463,6 +463,7 @@ IN_Init(void) vid_dga_mouseaccel = Cvar_Get ("vid_dga_mouseaccel","1",CVAR_ARCHIVE, "None"); + if (!COM_CheckParm("-nodga")) { // XF86DGASetViewPort, XF86DGASetVidPage, and XF86DGADirectVideo's // XF86DGADirectVideo flag are disabled till someone has a chance to // figure out what's wrong with them (if anything) --KB @@ -479,6 +480,10 @@ IN_Init(void) in_dgamouse = Cvar_Get ("in_dgamouse", "1", CVAR_ROM, "1 if you have DGA mouse support"); + } else + in_dgamouse = Cvar_Get ("in_dgamouse", "0", CVAR_ROM, + "1 if you have DGA mouse support"); + #endif if (COM_CheckParm("-nomouse")) return 1; mouse_x = mouse_y = 0.0;