diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-10-07 17:25:47 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-10-07 17:25:47 -0400 |
commit | 8c544272f218fd8bd93a898b96afedc2498b27bb (patch) | |
tree | 57df75c823c4a0c090cf5305c3b9e3933257e5f1 /src/radeon_accel.c | |
parent | 81360adffb2a66b9a95a38671f9227a9718c9841 (diff) |
fix the non-kms build
Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=30685
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r-- | src/radeon_accel.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c index 8fc515d1..1e20e560 100644 --- a/src/radeon_accel.c +++ b/src/radeon_accel.c @@ -1072,10 +1072,13 @@ Bool RADEONAccelInit(ScreenPtr pScreen) if (info->useEXA) { # ifdef XF86DRI if (info->directRenderingEnabled) { +#ifdef XF86DRM_MODE if (info->ChipFamily >= CHIP_FAMILY_CEDAR) { if (!EVERGREENDrawInit(pScreen)) return FALSE; - } else if (info->ChipFamily >= CHIP_FAMILY_R600) { + } else +#endif + if (info->ChipFamily >= CHIP_FAMILY_R600) { if (!R600DrawInit(pScreen)) return FALSE; } else { |