summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-08-25 22:33:06 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-08-25 22:33:06 +0200
commit7fbd85b3621f5368ebce178e5e55b0cbd5a80733 (patch)
tree66ea0e459da7fb20944321532a9ac3df711a12d0
parent9b24934be499fe5de9fdc02a71e41906c50791d9 (diff)
MGASelectBuffer() is only need for XAA.
-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 )