diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 6fa96c6f8..7f3bd277b 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -73,7 +73,6 @@ extern _X_EXPORT int platformSlotClaimed; #endif extern _X_EXPORT confDRIRec xf86ConfigDRI; -extern _X_EXPORT Bool xf86DRI2Enabled(void); #define XF86SCRNINFO(p) xf86ScreenToScrn(p) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index d85898b91..21cf3a80b 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -972,12 +972,6 @@ configServerFlags(XF86ConfFlagsPtr flagsconf, XF86OptionPtr layoutopts) LimitClients, RESOURCE_ID_MASK); } -Bool -xf86DRI2Enabled(void) -{ - return xf86Info.dri2; -} - /** * Search for the pInfo in the null-terminated list given and remove (and * free) it if present. All other devices are moved forward.