Mesa (xa_branch): st/xa: Make sure we blit all yuv regions.

Thomas Hellstrom thomash at kemper.freedesktop.org
Thu Jun 16 14:29:58 UTC 2011


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

Author: Thomas <thellstrom at vmware.com>
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 <thellstrom at vmware.com>

---

 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);




More information about the mesa-commit mailing list