diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-12-03 17:31:25 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-12-03 17:31:25 -0500 |
commit | 941ac0d3ab839dc5aaaef2f3b7f5c7085b2894c5 (patch) | |
tree | d153d180a1b14293360611b182fef2ef1109b5a1 /src/radeon.h | |
parent | 927aee181f3637bda1b761caf93fbc0652e1207b (diff) |
Make sure 3D state is emited when switching to 3D IB
- fixes bug 18864
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 4 |
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 |