diff options
-rw-r--r-- | src/r6xx_accel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c index c0be4d53..a0695303 100644 --- a/src/r6xx_accel.c +++ b/src/r6xx_accel.c @@ -109,6 +109,10 @@ void R600IBDiscard(ScrnInfoPtr pScrn, drmBufPtr ib) ret = radeon_cs_space_check(info->cs); if (ret) ErrorF("space check failed in flush\n"); + if (info->dri2.enabled) { + info->accel_state->XInited3D = FALSE; + info->accel_state->engineMode = EXA_ENGINEMODE_UNKNOWN; + } } #endif if (!ib) return; |