summaryrefslogtreecommitdiff
path: root/src/radeon_render.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-07-16 04:38:54 +0000
committerEric Anholt <anholt@freebsd.org>2004-07-16 04:38:54 +0000
commit57de5e285d6271fc4b2bc8a951a98be6308d649d (patch)
tree3653c2871cc03c63e6c9c588e1159c3cf9205bba /src/radeon_render.c
parent9b0ec803bd588d9af778bfd307ee6d958e4a1e73 (diff)
Bugzilla #803,804: Fix build in the !XF86DRI case after DRI and Radeon
Render acceleration merges.
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