mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-12-01 07:51:07 +00:00
Changes to compile on systems w/out DGA support
This commit is contained in:
parent
15488dd27e
commit
a95091b3c2
1 changed files with 2 additions and 3 deletions
|
@ -427,7 +427,9 @@ IN_Shutdown(void)
|
||||||
nullcursor = None;
|
nullcursor = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAS_DGA
|
||||||
XF86DGADirectVideo(x_disp, DefaultScreen(x_disp), 0);
|
XF86DGADirectVideo(x_disp, DefaultScreen(x_disp), 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
x11_close_display();
|
x11_close_display();
|
||||||
}
|
}
|
||||||
|
@ -475,9 +477,6 @@ IN_Init(void)
|
||||||
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);
|
||||||
|
|
||||||
in_dgamouse = Cvar_Get ("in_dgamouse", "1", CVAR_ROM,
|
|
||||||
"1 if you have DGA mouse support");
|
|
||||||
#else
|
|
||||||
in_dgamouse = Cvar_Get ("in_dgamouse", "1", CVAR_ROM,
|
in_dgamouse = Cvar_Get ("in_dgamouse", "1", CVAR_ROM,
|
||||||
"1 if you have DGA mouse support");
|
"1 if you have DGA mouse support");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue