summaryrefslogtreecommitdiff
path: root/src/radeon_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_render.c')
-rw-r--r--src/radeon_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_render.c b/src/radeon_render.c
index fe19299..73de861 100644
--- a/src/radeon_render.c
+++ b/src/radeon_render.c
@@ -177,9 +177,9 @@ ATILog2(int val)
void RADEONInit3DEngineForRender(ScrnInfoPtr pScrn)
{
+#ifdef XF86DRI
RADEONInfoPtr info = RADEONPTR (pScrn);
-#ifdef XF86DRI
if (info->directRenderingEnabled)
RadeonInit3DEngineCP(pScrn);
else