st/xa: Make sure we blit all yuv regions.
authorThomas <thellstrom@vmware.com>
Thu, 16 Jun 2011 14:22:59 +0000 (16:22 +0200)
committerThomas <thellstrom@vmware.com>
Thu, 16 Jun 2011 14:25:18 +0000 (16:25 +0200)
The code forgot to increment a pointer.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/state_trackers/xa/xa_yuv.c

index 248c77ab645b7de110919275518e67e9d96142ec..66cbc5393b5b7f2612fa43674ea9f76387af597a 100644 (file)
@@ -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);