From a18ffcd40d172835b30ef46d8547755e4d91bbe2 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 16 Jun 2011 16:22:59 +0200 Subject: [PATCH] st/xa: Make sure we blit all yuv regions. The code forgot to increment a pointer. Signed-off-by: Thomas Hellstrom --- src/gallium/state_trackers/xa/xa_yuv.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2