Commit 9c45561f authored by Keith Whitwell's avatar Keith Whitwell
Browse files

util: fix typo calculating transfer box

parent f3e98fd4
......@@ -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,
u_subresource(face, level),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment