summaryrefslogtreecommitdiff
path: root/src/radeon_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r--src/radeon_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index 778d43ef..4ce0da62 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -371,7 +371,7 @@ void RADEONEngineInit(ScrnInfoPtr pScrn)
info->CurrentLayout.bitsPerPixel);
#ifdef XF86DRI
- if (IS_R300_3D | IS_R500_3D) {
+ if (info->directRenderingEnabled && (IS_R300_3D | IS_R500_3D)) {
drmRadeonGetParam np;
int num_pipes;