summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-03-14 11:39:21 +0000
committerKeith Whitwell <keithw@vmware.com>2010-03-14 11:39:21 +0000
commit32bb1bd4ba29884a4ecfa11c8441d33dfceabcef (patch)
treef41b9d04815bca6d3b829155e79b8625be406842 /src/gallium/auxiliary
parent7e2696c06445282feb781047277b260308760a33 (diff)
util: correct argument order in pipe_buffer_map
Diffstat (limited to 'src/gallium/auxiliary')
-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 67a5d4562e..f57a1fccf7 100644
--- a/src/gallium/auxiliary/util/u_inlines.h
+++ b/src/gallium/auxiliary/util/u_inlines.h
@@ -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);
}