summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 902d1c05..86cee4b4 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -1318,8 +1318,10 @@ do { \
case EXA_ENGINEMODE_3D: \
break; \
} \
- if (flush && info->directRenderingEnabled) \
+ if (flush && info->directRenderingEnabled) { \
RADEONCPFlushIndirect(pScrn, 1); \
+ RADEONInit3DEngine(pScrn); \
+ } \
info->accel_state->engineMode = EXA_ENGINEMODE_3D; \
} while (0);
#else