summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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; \