summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mga_dri.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mga_dri.c b/src/mga_dri.c
index 78b20b6..c780bdf 100644
--- a/src/mga_dri.c
+++ b/src/mga_dri.c
@@ -515,6 +515,7 @@ MGADRISwapContextShared( ScreenPtr pScreen, DRISyncType syncType,
}
}
+#ifdef USE_XAA
void MGASelectBuffer( ScrnInfoPtr pScrn, int which )
{
MGAPtr pMga = MGAPTR(pScrn);
@@ -536,6 +537,7 @@ void MGASelectBuffer( ScrnInfoPtr pScrn, int which )
break;
}
}
+#endif
static unsigned int mylog2( unsigned int n )