summaryrefslogtreecommitdiff
path: root/src/r600_textured_videofuncs.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-11-25 11:41:52 +1000
committerDave Airlie <airlied@redhat.com>2009-11-25 11:41:52 +1000
commit19f1a357944f9d8f4567a2691a68067ec033ccb7 (patch)
tree12d3e122cb504222351664677287c56db80a62b8 /src/r600_textured_videofuncs.c
parent3a460a14b9603159f10d89da27b559c36a184e27 (diff)
radeon: fix check for no work in operation
Diffstat (limited to 'src/r600_textured_videofuncs.c')
-rw-r--r--src/r600_textured_videofuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c
index 7d0cfa78..c740e066 100644
--- a/src/r600_textured_videofuncs.c
+++ b/src/r600_textured_videofuncs.c
@@ -65,7 +65,7 @@ R600DoneTexturedVideo(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;