diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-12-03 01:39:38 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-12-03 01:39:38 -0500 |
commit | 927aee181f3637bda1b761caf93fbc0652e1207b (patch) | |
tree | c1b454a175c54545ba65670152ab5f96c2a4e943 | |
parent | ca74ebf8813b7fab8d08465ef9600f001c948e94 (diff) |
Only flush IB when direct rendering is enabled
-rw-r--r-- | src/radeon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon.h b/src/radeon.h index 227ffc6d..902d1c05 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -1303,7 +1303,7 @@ do { \ case EXA_ENGINEMODE_2D: \ break; \ } \ - if (flush) \ + if (flush && info->directRenderingEnabled) \ RADEONCPFlushIndirect(pScrn, 1); \ info->accel_state->engineMode = EXA_ENGINEMODE_2D; \ } while (0); @@ -1318,7 +1318,7 @@ do { \ case EXA_ENGINEMODE_3D: \ break; \ } \ - if (flush) \ + if (flush && info->directRenderingEnabled) \ RADEONCPFlushIndirect(pScrn, 1); \ info->accel_state->engineMode = EXA_ENGINEMODE_3D; \ } while (0); |