summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-12-22 09:27:47 +1000
committerDave Airlie <airlied@redhat.com>2008-12-22 09:27:47 +1000
commitd52882d8188830dd52fa112dadcf5ea7f3e5fd5e (patch)
tree1f2fd1907e0cde93b944e8601fd8557136d931f8 /src/radeon.h
parent2346fd7cbd90dcdce2b361d374a53da064fa6a12 (diff)
radeon: setup 3D engine even when no DRI.
This should fix some missing font issues in EXA without DRI cases.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon.h b/src/radeon.h
index a67962c9..9f0e55a9 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -1329,8 +1329,9 @@ do { \
case EXA_ENGINEMODE_3D: \
break; \
} \
- if (flush && info->directRenderingEnabled) { \
- RADEONCPFlushIndirect(pScrn, 1); \
+ if (flush) { \
+ if (info->directRenderingEnabled) \
+ RADEONCPFlushIndirect(pScrn, 1); \
RADEONInit3DEngine(pScrn); \
} \
info->accel_state->engineMode = EXA_ENGINEMODE_3D; \