diff options
author | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2008-05-09 05:28:44 -0400 |
---|---|---|
committer | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2008-05-09 05:28:44 -0400 |
commit | 94405eb1c9e4e0ababc6aef03b753d6ed9eb7838 (patch) | |
tree | 36a1a9abd2fd94f60b78660dc36c7f2e50a43462 /src/radeon_exa_funcs.c | |
parent | 18e20bc22a55ecfee9798c01079d7b24d19f0051 (diff) |
RADEON: fixup ifdef from last commit
Diffstat (limited to 'src/radeon_exa_funcs.c')
-rw-r--r-- | src/radeon_exa_funcs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index ab890adc..1a55e28e 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -537,9 +537,11 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Render acceleration " "unsupported on R600 and newer cards.\n"); else if (IS_R300_3D || IS_R500_3D) { + if ((info->ChipFamily < CHIP_FAMILY_RS400) #ifdef XF86DRI - if ((info->ChipFamily < CHIP_FAMILY_RS400) || (info->directRenderingEnabled)) { + || (info->directRenderingEnabled) #endif + ) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Render acceleration " "enabled for R300/R400/R500 type cards.\n"); info->exa->CheckComposite = R300CheckComposite; @@ -547,10 +549,8 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) FUNC_NAME(R300PrepareComposite); info->exa->Composite = FUNC_NAME(RadeonComposite); info->exa->DoneComposite = FUNC_NAME(RadeonDoneComposite); -#ifdef XF86DRI } else xf86DrvMsg(pScrn->scrnIndex, X_INFO, "EXA Composite requires CP on R5xx/IGP\n"); -#endif } else if ((info->ChipFamily == CHIP_FAMILY_RV250) || (info->ChipFamily == CHIP_FAMILY_RV280) || (info->ChipFamily == CHIP_FAMILY_RS300) || |