From 6e4e6d2a8f29f92efc219dca24ea31d1f37d5a0f Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 3 Jun 2008 20:32:20 -0400 Subject: RADEON: minor cleanups --- src/radeon_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon_accel.c') 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; -- cgit v1.2.3