summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin E. Martin <kem-at-freedesktop-dot-org>2004-08-11 01:14:14 +0000
committerKevin E. Martin <kem-at-freedesktop-dot-org>2004-08-11 01:14:14 +0000
commitd08804e96d96e21e019639b042830d7f1ae29e93 (patch)
treeba48ca65dd9e4b3471594616cbd67546ec4566cc
parent30061d63e774097c3efd6b9c24dc06a70338ad5c (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;