Commit 32bb1bd4 authored by Keith Whitwell's avatar Keith Whitwell

util: correct argument order in pipe_buffer_map

parent 7e2696c0
......@@ -184,7 +184,7 @@ pipe_buffer_map(struct pipe_context *pipe,
unsigned usage,
struct pipe_transfer **transfer)
{
return pipe_buffer_map_range(pipe, buffer, usage, 0, buffer->width0, transfer);
return pipe_buffer_map_range(pipe, buffer, 0, buffer->width0, usage, transfer);
}
......
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