From 1356884132491010a2e41eb2b5be4a227b9b8138 Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Wed, 11 Aug 2004 01:14:14 +0000 Subject: Fix Radeon build problem with #define DoLoadableServer NO --- src/radeon_accelfuncs.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/radeon_accelfuncs.c b/src/radeon_accelfuncs.c index 0fd9fa10..381e4466 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; -- cgit v1.2.3