summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-03-14 09:42:25 +0000
committerKeith Whitwell <keithw@vmware.com>2010-03-14 09:42:25 +0000
commit9c45561fb0d7a52400093bcb2ce5f727fafd7777 (patch)
treedcb02b5c1faa0335e84defa5bc1a1bd4f05294fd
parentf3e98fd47f36804d019a684d49ff230df3ab0cf5 (diff)
util: fix typo calculating transfer box
-rw-r--r--src/gallium/auxiliary/util/u_inlines.h2
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 639713a653..d068fafaa7 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),