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

Author: Keith Whitwell <[email protected]>
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),

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

Reply via email to