Mesa (gallium-resources): util: fix typo calculating transfer box

Keith Whitwell keithw at kemper.freedesktop.org
Sun Mar 14 01:43:38 PST 2010


Module: Mesa
Branch: gallium-resources
Commit: 9c45561fb0d7a52400093bcb2ce5f727fafd7777
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c45561fb0d7a52400093bcb2ce5f727fafd7777

Author: Keith Whitwell <keithw at vmware.com>
Date:   Sun Mar 14 09:42:25 2010 +0000

util: fix typo calculating transfer box

---

 src/gallium/auxiliary/util/u_inlines.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_inlines.h b/src/gallium/auxiliary/util/u_inlines.h
index 639713a..d068faf 100644
--- a/src/gallium/auxiliary/util/u_inlines.h
+++ b/src/gallium/auxiliary/util/u_inlines.h
@@ -286,7 +286,7 @@ pipe_get_transfer( struct pipe_context *context,
 		       unsigned w, unsigned h)
 {
    struct pipe_box box;
-   u_box_2d_zslice( x, y, w, h, zslice, &box );
+   u_box_2d_zslice( x, y, zslice, w, h, &box );
    return context->get_transfer( context,
 				 resource,
 				 u_subresource(face, level),



More information about the mesa-commit mailing list