mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-15 16:30:50 +00:00
disable DGA until the code can be reworked correctly. uquake-x11 no longer segs
X!
This commit is contained in:
parent
bdac743c66
commit
b2b6b999ae
1 changed files with 2 additions and 0 deletions
|
@ -382,6 +382,7 @@ int IN_Init ()
|
||||||
#ifdef HAS_DGA
|
#ifdef HAS_DGA
|
||||||
vid_dga_mouseaccel = Cvar_Get ("vid_dga_mouseaccel","1",CVAR_ARCHIVE,
|
vid_dga_mouseaccel = Cvar_Get ("vid_dga_mouseaccel","1",CVAR_ARCHIVE,
|
||||||
"None");
|
"None");
|
||||||
|
#if 0
|
||||||
XF86DGASetViewPort(x_disp, x_win, 0, 0);
|
XF86DGASetViewPort(x_disp, x_win, 0, 0);
|
||||||
XF86DGADirectVideo(x_disp, x_win, XF86DGADirectGraphics|XF86DGADirectMouse|XF86DGADirectKeyb);
|
XF86DGADirectVideo(x_disp, x_win, XF86DGADirectGraphics|XF86DGADirectMouse|XF86DGADirectKeyb);
|
||||||
XF86DGASetVidPage(x_disp, x_win, 0);
|
XF86DGASetVidPage(x_disp, x_win, 0);
|
||||||
|
@ -389,6 +390,7 @@ int IN_Init ()
|
||||||
XGrabKeyboard(x_disp, x_win, True, GrabModeAsync, GrabModeAsync, CurrentTime);
|
XGrabKeyboard(x_disp, x_win, True, GrabModeAsync, GrabModeAsync, CurrentTime);
|
||||||
XGrabPointer(x_disp, x_win, True, MOUSE_MASK, GrabModeAsync, GrabModeAsync,
|
XGrabPointer(x_disp, x_win, True, MOUSE_MASK, GrabModeAsync, GrabModeAsync,
|
||||||
x_win, None, CurrentTime);
|
x_win, None, CurrentTime);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
if (COM_CheckParm("-nomouse")) return 1;
|
if (COM_CheckParm("-nomouse")) return 1;
|
||||||
mouse_x = mouse_y = 0.0;
|
mouse_x = mouse_y = 0.0;
|
||||||
|
|
Loading…
Reference in a new issue