summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2004-08-11 01:14:14 +0000
committerKevin E Martin <kem@kem.org>2004-08-11 01:14:14 +0000
commit1356884132491010a2e41eb2b5be4a227b9b8138 (patch)
tree1956b272dd2ad3a937c381a8c0642984f759a960
parentf5c93cb015e334975c2797a23b68798372a284c9 (diff)
Fix Radeon build problem with #define DoLoadableServer NO
-rw-r--r--src/radeon_accelfuncs.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/radeon_accelfuncs.c b/src/radeon_accelfuncs.c
index 0fd9fa1..381e446 100644
--- a/src/radeon_accelfuncs.c
+++ b/src/radeon_accelfuncs.c
@@ -1348,9 +1348,12 @@ FUNC_NAME(RADEONAccelInit)(ScreenPtr pScreen, XAAInfoRecPtr a)
| BIT_ORDER_IN_BYTE_LSBFIRST);
#endif
-#if defined(RENDER)
- if (info->RenderAccel &&
- info->xaaReq.minorversion >= 2) {
+#ifdef RENDER
+ if (info->RenderAccel
+#ifdef XFree86LOADER
+ && info->xaaReq.minorversion >= 2
+#endif
+ ) {
a->CPUToScreenAlphaTextureFlags = XAA_RENDER_POWER_OF_2_TILE_ONLY;
a->CPUToScreenAlphaTextureFormats = RADEONTextureFormats;