diff options
author | Dave Airlie <airlied@linux.ie> | 2005-09-12 09:27:07 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-09-12 09:27:07 +0000 |
commit | baa9b5b6e19cf9794bf810e3c582bf1d7f808663 (patch) | |
tree | 86aed6a61d3de92687da775ac5ebde4e5e832d81 /src | |
parent | 8c89610389197dc94d3bceaf44d9d2ea91848f1b (diff) |
Fix Radeon EXA for when RENDER isn't defined
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_exa.c | 4 | ||||
-rw-r--r-- | src/radeon_exa_funcs.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c index 632faaf0..3224b9a9 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -29,6 +29,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "radeon.h" #include "radeon_reg.h" #include "radeon_dri.h" diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index b6012839..545202db 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -369,6 +369,7 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) info->exa.card.maxX = 2047; info->exa.card.maxY = 2047; +#ifdef RENDER if (info->RenderAccel) { if (info->ChipFamily >= CHIP_FAMILY_R300) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Render acceleration " @@ -394,6 +395,7 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) info->exa.accel.DoneComposite = RadeonDoneComposite; } } +#endif RADEONEngineInit(pScrn); |