summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas <thellstrom@vmware.com>2011-06-16 16:22:59 +0200
committerThomas <thellstrom@vmware.com>2011-06-16 16:25:18 +0200
commita18ffcd40d172835b30ef46d8547755e4d91bbe2 (patch)
tree75eec02b4e9406be25b9783bd8a58ebb7e95fce8
parent7ba80e0c509c0bf1b14c2a20db579055b999f066 (diff)
st/xa: Make sure we blit all yuv regions.
The code forgot to increment a pointer. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
-rw-r--r--src/gallium/state_trackers/xa/xa_yuv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xa/xa_yuv.c b/src/gallium/state_trackers/xa/xa_yuv.c
index 248c77ab645..66cbc5393b5 100644
--- a/src/gallium/state_trackers/xa/xa_yuv.c
+++ b/src/gallium/state_trackers/xa/xa_yuv.c
@@ -167,6 +167,7 @@ xa_yuv_planar_blit(struct xa_context *r,
(float)src_x + scale_x * (x - dst_x),
(float)src_y + scale_y * (y - dst_y),
scale_x * w, scale_y * h, x, y, w, h, yuv);
+ box++;
}
r->pipe->flush(r->pipe, &r->last_fence);