mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2025-02-22 11:21:36 +00:00
- fix compile warning when xf86dga doesn't exist
This commit is contained in:
parent
28a1de6b33
commit
b814e0db00
1 changed files with 1 additions and 1 deletions
|
@ -550,9 +550,9 @@ static void install_grabs(void)
|
|||
CurrentTime);
|
||||
|
||||
if (in_dgamouse->value) {
|
||||
#ifdef HAVE_XF86_DGA
|
||||
int MajorVersion, MinorVersion;
|
||||
|
||||
#ifdef HAVE_XF86_DGA
|
||||
if (!XF86DGAQueryVersion(dpy, &MajorVersion, &MinorVersion)) {
|
||||
// unable to query, probalby not supported
|
||||
ri.Con_Printf( PRINT_ALL, "Failed to detect XF86DGA Mouse\n" );
|
||||
|
|
Loading…
Reference in a new issue