- fix compile warning when xf86dga doesn't exist

This commit is contained in:
Jamie Wilkinson 2004-03-17 01:33:31 +00:00
parent 28a1de6b33
commit b814e0db00

View file

@ -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" );