summaryrefslogtreecommitdiff
path: root/src/r600_exa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/r600_exa.c')
-rw-r--r--src/r600_exa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c
index 331711c8..34880704 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -406,7 +406,7 @@ R600DoneSolid(PixmapPtr pPix)
CLEAR (draw_conf);
CLEAR (vtx_res);
- if (accel_state->vb_offset == 0) {
+ if (accel_state->vb_offset == accel_state->vb_start_op) {
R600IBDiscard(pScrn, accel_state->ib);
r600_vb_discard(pScrn);
return;
@@ -672,7 +672,7 @@ R600DoCopy(ScrnInfoPtr pScrn)
CLEAR (draw_conf);
CLEAR (vtx_res);
- if (accel_state->vb_offset == 0) {
+ if (accel_state->vb_offset == accel_state->vb_start_op) {
R600IBDiscard(pScrn, accel_state->ib);
r600_vb_discard(pScrn);
return;
@@ -1994,7 +1994,7 @@ static void R600DoneComposite(PixmapPtr pDst)
CLEAR (draw_conf);
CLEAR (vtx_res);
- if (accel_state->vb_offset == 0) {
+ if (accel_state->vb_offset == accel_state->vb_start_op) {
R600IBDiscard(pScrn, accel_state->ib);
r600_vb_discard(pScrn);
return;