diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-08-21 12:07:29 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-08-21 12:07:29 +0100 |
commit | 361c49ad3cfe58b9ab98dfb6e95de505c0d63730 (patch) | |
tree | 179130ffb2688ea0468806344aa72040e9afd26a /src/i830_accel.c | |
parent | cdcc6f23e8cad797e6cfd57e2ff454ec8509b5ba (diff) |
Fix bug #7930, i810 doesn't compile without DRI
(Samuel Thibault)
Diffstat (limited to 'src/i830_accel.c')
-rw-r--r-- | src/i830_accel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i830_accel.c b/src/i830_accel.c index aa43cbec..b029968e 100644 --- a/src/i830_accel.c +++ b/src/i830_accel.c @@ -395,6 +395,7 @@ I830AccelInit(ScreenPtr pScreen) return XAAInit(pScreen, infoPtr); } +#ifdef XF86DRI static unsigned int CheckTiling(ScrnInfoPtr pScrn) { @@ -416,6 +417,9 @@ CheckTiling(ScrnInfoPtr pScrn) return tiled; } +#else +#define CheckTiling(pScrn) 0 +#endif void I830SetupForSolidFill(ScrnInfoPtr pScrn, int color, int rop, |