Module: Mesa
Branch: xa_branch
Commit: a18ffcd40d172835b30ef46d8547755e4d91bbe2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a18ffcd40d172835b30ef46d8547755e4d91bbe2

Author: Thomas <[email protected]>
Date:   Thu Jun 16 16:22:59 2011 +0200

st/xa: Make sure we blit all yuv regions.

The code forgot to increment a pointer.

Signed-off-by: Thomas Hellstrom <[email protected]>

---

 src/gallium/state_trackers/xa/xa_yuv.c |    1 +
 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 248c77a..66cbc53 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);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to