diff options
-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); |