summaryrefslogtreecommitdiff
path: root/src/radeon_accel.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botchco.com>2008-06-03 20:32:20 -0400
committerAlex Deucher <alex@botchco.com>2008-06-03 20:33:15 -0400
commit6e4e6d2a8f29f92efc219dca24ea31d1f37d5a0f (patch)
tree01d93b68736ba3a2c373c021c84d91527242c464 /src/radeon_accel.c
parent9d3afbf5fa4110928a9f965df2733c79db92ea99 (diff)
RADEON: minor cleanups
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;