From: Thomas Date: Thu, 16 Jun 2011 14:22:59 +0000 (+0200) Subject: st/xa: Make sure we blit all yuv regions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a18ffcd40d172835b30ef46d8547755e4d91bbe2;p=mesa.git st/xa: Make sure we blit all yuv regions. The code forgot to increment a pointer. Signed-off-by: Thomas Hellstrom --- 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);