summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-09-12 09:27:07 +0000
committerDave Airlie <airlied@linux.ie>2005-09-12 09:27:07 +0000
commitbaa9b5b6e19cf9794bf810e3c582bf1d7f808663 (patch)
tree86aed6a61d3de92687da775ac5ebde4e5e832d81 /src
parent8c89610389197dc94d3bceaf44d9d2ea91848f1b (diff)
Fix Radeon EXA for when RENDER isn't defined
Diffstat (limited to 'src')
-rw-r--r--src/radeon_exa.c4
-rw-r--r--src/radeon_exa_funcs.c2
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);